summaryrefslogtreecommitdiffhomepage
path: root/examples/others
diff options
context:
space:
mode:
authorWilhem Barbier <[email protected]>2017-06-29 10:36:58 +0200
committerWilhem Barbier <[email protected]>2017-06-29 10:36:58 +0200
commit056a494baf3b4c450e734967c033919facfdec5c (patch)
tree412402ada335f5f920abdc18f868572cd13fafc5 /examples/others
parentaba3739c1354cac4ef302d9b43c3fc5e9699b373 (diff)
downloadraylib-056a494baf3b4c450e734967c033919facfdec5c.tar.gz
raylib-056a494baf3b4c450e734967c033919facfdec5c.zip
Fix some other typos
Diffstat (limited to 'examples/others')
-rw-r--r--examples/others/standard_lighting.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/others/standard_lighting.c b/examples/others/standard_lighting.c
index 14fda32e..a7f634e2 100644
--- a/examples/others/standard_lighting.c
+++ b/examples/others/standard_lighting.c
@@ -69,7 +69,7 @@ static void GetShaderLightsLocations(Shader shader); // Get shader locations
static void SetShaderLightsValues(Shader shader); // Set shader uniform values for lights
// Vector3 math functions
-static float VectorLength(const Vector3 v); // Calculate vector lenght
+static float VectorLength(const Vector3 v); // Calculate vector length
static void VectorNormalize(Vector3 *v); // Normalize provided vector
static Vector3 VectorSubtract(Vector3 v1, Vector3 v2); // Substract two vectors
@@ -444,7 +444,7 @@ static void SetShaderLightsValues(Shader shader)
}
}
-// Calculate vector lenght
+// Calculate vector length
float VectorLength(const Vector3 v)
{
float length;