diff options
| author | Ray <[email protected]> | 2022-09-29 11:08:02 +0200 |
|---|---|---|
| committer | Ray <[email protected]> | 2022-09-29 11:08:02 +0200 |
| commit | 357f782f4e17d514630498eda20fde19c63838a2 (patch) | |
| tree | 37900455a505ce520004b3dd3aacbea47dafa95c | |
| parent | 0ced04f0df789fef5a7e3ff7ff89c67d3e4bdd3a (diff) | |
| parent | 587e61def9450dcf64648177e1158acc9762f2a2 (diff) | |
| download | raylib-357f782f4e17d514630498eda20fde19c63838a2.tar.gz raylib-357f782f4e17d514630498eda20fde19c63838a2.zip | |
Merge branch 'master' of https://github.com/raysan5/raylib
| -rw-r--r-- | src/raylib.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/raylib.h b/src/raylib.h index df59ffef..4f0483f1 100644 --- a/src/raylib.h +++ b/src/raylib.h @@ -305,7 +305,7 @@ typedef struct Camera3D { Vector3 position; // Camera position Vector3 target; // Camera target it looks-at Vector3 up; // Camera up vector (rotation over its axis) - float fovy; // Camera field-of-view apperture in Y (degrees) in perspective, used as near plane width in orthographic + float fovy; // Camera field-of-view aperture in Y (degrees) in perspective, used as near plane width in orthographic int projection; // Camera projection: CAMERA_PERSPECTIVE or CAMERA_ORTHOGRAPHIC } Camera3D; @@ -663,7 +663,7 @@ typedef enum { MOUSE_BUTTON_MIDDLE = 2, // Mouse button middle (pressed wheel) MOUSE_BUTTON_SIDE = 3, // Mouse button side (advanced mouse device) MOUSE_BUTTON_EXTRA = 4, // Mouse button extra (advanced mouse device) - MOUSE_BUTTON_FORWARD = 5, // Mouse button fordward (advanced mouse device) + MOUSE_BUTTON_FORWARD = 5, // Mouse button forward (advanced mouse device) MOUSE_BUTTON_BACK = 6, // Mouse button back (advanced mouse device) } MouseButton; @@ -967,7 +967,7 @@ RLAPI void DisableEventWaiting(void); // Disable wai // Custom frame control functions // NOTE: Those functions are intended for advance users that want full control over the frame processing -// By default EndDrawing() does this job: draws everything + SwapScreenBuffer() + manage frame timming + PollInputEvents() +// By default EndDrawing() does this job: draws everything + SwapScreenBuffer() + manage frame timing + PollInputEvents() // To avoid that behaviour and control frame processes manually, enable in config.h: SUPPORT_CUSTOM_FRAME_CONTROL RLAPI void SwapScreenBuffer(void); // Swap back buffer with front buffer (screen drawing) RLAPI void PollInputEvents(void); // Register all input events |
