aboutsummaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authorRay <raysan5@gmail.com>2017-06-29 16:31:40 +0200
committerGitHub <noreply@github.com>2017-06-29 16:31:40 +0200
commit83b4b13a2ce96ab27ddf0d024563c131da3e549a (patch)
tree412402ada335f5f920abdc18f868572cd13fafc5 /examples
parent495b6d8883135bf00c01c97ce743616c437bbbe9 (diff)
parent056a494baf3b4c450e734967c033919facfdec5c (diff)
downloadraylib-83b4b13a2ce96ab27ddf0d024563c131da3e549a.tar.gz
raylib-83b4b13a2ce96ab27ddf0d024563c131da3e549a.zip
Merge pull request #314 from nounoursheureux/develop
Fix some typos (lenght -> length)
Diffstat (limited to 'examples')
-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;