diff options
| author | Ray <[email protected]> | 2023-03-13 12:26:59 +0100 |
|---|---|---|
| committer | Ray <[email protected]> | 2023-03-13 12:26:59 +0100 |
| commit | 8fccc4f304f844e6f063385153dc9c5ce4526edc (patch) | |
| tree | ca6de60854d852ae4b59163a18856b6c89aa235d /cheatsheet | |
| parent | 325b678b299dd6befb287fbdb502dce45d78003b (diff) | |
| download | raylib.com-8fccc4f304f844e6f063385153dc9c5ce4526edc.tar.gz raylib.com-8fccc4f304f844e6f063385153dc9c5ce4526edc.zip | |
Added spacing
Diffstat (limited to 'cheatsheet')
| -rw-r--r-- | cheatsheet/raylib_core.c | 1 | ||||
| -rw-r--r-- | cheatsheet/raylib_math.c | 0 | ||||
| -rw-r--r-- | cheatsheet/raylib_models.c | 1 | ||||
| -rw-r--r-- | cheatsheet/raylib_shapes.c | 1 | ||||
| -rw-r--r-- | cheatsheet/raylib_text.c | 1 | ||||
| -rw-r--r-- | cheatsheet/raylib_textures.c | 1 |
6 files changed, 5 insertions, 0 deletions
diff --git a/cheatsheet/raylib_core.c b/cheatsheet/raylib_core.c index a93ae63..41464f2 100644 --- a/cheatsheet/raylib_core.c +++ b/cheatsheet/raylib_core.c @@ -1,4 +1,5 @@ + // Window-related functions void InitWindow(int width, int height, const char *title); // Initialize window and OpenGL context bool WindowShouldClose(void); // Check if KEY_ESCAPE pressed or Close icon pressed diff --git a/cheatsheet/raylib_math.c b/cheatsheet/raylib_math.c deleted file mode 100644 index e69de29..0000000 --- a/cheatsheet/raylib_math.c +++ /dev/null diff --git a/cheatsheet/raylib_models.c b/cheatsheet/raylib_models.c index 167ade0..33332f3 100644 --- a/cheatsheet/raylib_models.c +++ b/cheatsheet/raylib_models.c @@ -1,3 +1,4 @@ + // Basic geometric 3D shapes drawing functions void DrawLine3D(Vector3 startPos, Vector3 endPos, Color color); // Draw a line in 3D world space void DrawPoint3D(Vector3 position, Color color); // Draw a point in 3D space, actually a small line diff --git a/cheatsheet/raylib_shapes.c b/cheatsheet/raylib_shapes.c index 0c3a003..465b240 100644 --- a/cheatsheet/raylib_shapes.c +++ b/cheatsheet/raylib_shapes.c @@ -1,3 +1,4 @@ + // NOTE: It can be useful when using basic shapes and one single font, // defining a font char white rectangle would allow drawing everything in a single draw call void SetShapesTexture(Texture2D texture, Rectangle source); // Set texture and rectangle to be used on shapes drawing diff --git a/cheatsheet/raylib_text.c b/cheatsheet/raylib_text.c index 4887afe..8c41fe4 100644 --- a/cheatsheet/raylib_text.c +++ b/cheatsheet/raylib_text.c @@ -1,3 +1,4 @@ + // Font loading/unloading functions Font GetFontDefault(void); // Get the default Font Font LoadFont(const char *fileName); // Load font from file into GPU memory (VRAM) diff --git a/cheatsheet/raylib_textures.c b/cheatsheet/raylib_textures.c index 272c3ea..b199b5d 100644 --- a/cheatsheet/raylib_textures.c +++ b/cheatsheet/raylib_textures.c @@ -1,3 +1,4 @@ + // Image loading functions // NOTE: These functions do not require GPU access Image LoadImage(const char *fileName); // Load image from file into CPU memory (RAM) |
