aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWilhem Barbier <nounoursheureux@openmailbox.org>2016-08-25 14:18:43 +0200
committerWilhem Barbier <nounoursheureux@openmailbox.org>2016-08-25 14:18:43 +0200
commit1d71e1b7542b88c2d5a690d09c0d2a5411549527 (patch)
treed99d009dadc23d58f06071cffa2e2096a18bc449
parent959a228815edcecdde692fcd47a7b540844c5712 (diff)
downloadraylib-1d71e1b7542b88c2d5a690d09c0d2a5411549527.tar.gz
raylib-1d71e1b7542b88c2d5a690d09c0d2a5411549527.zip
Fix a typo in the DrawCube, DrawCubeWires and DrawCubeTexture definitions
-rw-r--r--src/raylib.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/raylib.h b/src/raylib.h
index 7b7348c8..68cddc5a 100644
--- a/src/raylib.h
+++ b/src/raylib.h
@@ -810,10 +810,10 @@ RLAPI const char *SubText(const char *text, int position, int length);
//------------------------------------------------------------------------------------
RLAPI void DrawLine3D(Vector3 startPos, Vector3 endPos, Color color); // Draw a line in 3D world space
RLAPI void DrawCircle3D(Vector3 center, float radius, float rotationAngle, Vector3 rotation, Color color); // Draw a circle in 3D world space
-RLAPI void DrawCube(Vector3 position, float width, float height, float lenght, Color color); // Draw cube
+RLAPI void DrawCube(Vector3 position, float width, float height, float length, Color color); // Draw cube
RLAPI void DrawCubeV(Vector3 position, Vector3 size, Color color); // Draw cube (Vector version)
-RLAPI void DrawCubeWires(Vector3 position, float width, float height, float lenght, Color color); // Draw cube wires
-RLAPI void DrawCubeTexture(Texture2D texture, Vector3 position, float width, float height, float lenght, Color color); // Draw cube textured
+RLAPI void DrawCubeWires(Vector3 position, float width, float height, float length, Color color); // Draw cube wires
+RLAPI void DrawCubeTexture(Texture2D texture, Vector3 position, float width, float height, float length, Color color); // Draw cube textured
RLAPI void DrawSphere(Vector3 centerPos, float radius, Color color); // Draw sphere
RLAPI void DrawSphereEx(Vector3 centerPos, float radius, int rings, int slices, Color color); // Draw sphere with extended parameters
RLAPI void DrawSphereWires(Vector3 centerPos, float radius, int rings, int slices, Color color); // Draw sphere wires