Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixed some grammar mistakes and typos. #2914

Merged
merged 2 commits into from
Feb 9, 2023
Merged

Conversation

stickM4N
Copy link
Contributor

@stickM4N stickM4N commented Feb 6, 2023

As asked, I made fewer commits in this pull request. I will keep reviewing the project... And adding what I found in time. Let me know about your revision.

@@ -2319,7 +2319,7 @@ static ma_uint32 ReadAudioBufferFramesInInternalFormat(AudioBuffer *audioBuffer,
{
// We break from this loop differently depending on the buffer's usage
// - For static buffers, we simply fill as much data as we can
// - For streaming buffers we only fill the halves of the buffer that are processed
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

raudio.c line 2322: I am unclear on what change captures the intended sense here. I think it is "a half of the buffer that is processed." That might mean both haves in sequence when the buffer has been completely drained.

Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

good

src/raylib.h Show resolved Hide resolved
@@ -5456,7 +5456,7 @@ static void MouseButtonCallback(GLFWwindow *window, int button, int action, int
gestureEvent.position[0].x /= (float)GetScreenWidth();
gestureEvent.position[0].y /= (float)GetScreenHeight();

// Gesture data is sent to gestures system for processing
// Gesture data is sent to gestures-system for processing
Copy link
Contributor

@orcmid orcmid Feb 6, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

rcore.c line 5459: The original seems correct. It is not used as an adjective as gestures-system would be.
same for line 5490.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

In that case it should not have s in gestures...

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

That does sound better. Is it accurate?

Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

gesture-system is ok

src/rmodels.c Show resolved Hide resolved
src/rmodels.c Show resolved Hide resolved
src/rmodels.c Show resolved Hide resolved
@@ -978,7 +978,7 @@ void DrawRectangleRounded(Rectangle rec, float roundness, int segments, Color co
rlSetTexture(texShapes.id);

rlBegin(RL_QUADS);
// Draw all of the 4 corners: [1] Upper Left Corner, [3] Upper Right Corner, [5] Lower Right Corner, [7] Lower Left Corner
// Draw all the 4 corners: [1] Upper Left Corner, [3] Upper Right Corner, [5] Lower Right Corner, [7] Lower Left Corner
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

shapes.c line 981 or just day "Draw the 4 corners: ..."
Also lines 1210, 1345

Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

agree

@@ -647,7 +647,7 @@ GlyphInfo *LoadFontData(const unsigned char *fileData, int dataSize, int fontSiz
}
}

// Get bounding box for character (may be offset to account for chars that dip above or below the line)
// Get bounding box for character (maybe offset to account for chars that dip above or below the line)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

rtext.c line 650: Is it safe to say "(will be offset ..." ?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

On seconds thoughts it should be used might... Wouldn't it fit better?

Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

both sound good to me

src/rtext.c Show resolved Hide resolved
@orcmid
Copy link
Contributor

orcmid commented Feb 6, 2023

Well-done. This is more manageable. I have fewer comments and some may be coin-flips. Ramon's review will determine what's important enough to him.

@stickM4N
Copy link
Contributor Author

stickM4N commented Feb 7, 2023

Yes, hope this helps. I still hava a pull request regarding a buffer too small for that data stored. I'll check it soon and some other things I noticed so you can review it.

@raysan5 raysan5 merged commit 6ae21d6 into raysan5:master Feb 9, 2023
@raysan5
Copy link
Owner

raysan5 commented Feb 9, 2023

@stickM4N @orcmid Merged current changes, if something needs to be reviewed feel free to send another PR.

stickM4N pushed a commit to stickM4N/raylib that referenced this pull request Feb 12, 2023
Update rl_gputex.h
Added raymarch example and thumbnail for write depth (raysan5#2919)
Fixed some grammar mistakes and typos. (raysan5#2914)
* Fixed some grammar mistakes.
* Fixed some typos.
Update raylib-hx bindings to 4.2 in BINDINGS.md (raysan5#2916)
Enable GetWindowHandle() on macOS (raysan5#2915)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants