summaryrefslogtreecommitdiffhomepage
path: root/src/rlgl.h
diff options
context:
space:
mode:
authorRay <[email protected]>2024-06-30 11:37:58 +0200
committerRay <[email protected]>2024-06-30 11:37:58 +0200
commit1e1061d5c7582090df0851c08359d7c7847f9559 (patch)
tree8e5d77c6507a893314d6383e0041450dccc79e22 /src/rlgl.h
parent13e309251184343b67773d16e6e264c7cac7c280 (diff)
downloadraylib-1e1061d5c7582090df0851c08359d7c7847f9559.tar.gz
raylib-1e1061d5c7582090df0851c08359d7c7847f9559.zip
REVIEWED: Formatting, follow raylib coding conventions
Diffstat (limited to 'src/rlgl.h')
-rw-r--r--src/rlgl.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rlgl.h b/src/rlgl.h
index 98d43ea5..5ab677d9 100644
--- a/src/rlgl.h
+++ b/src/rlgl.h
@@ -1560,7 +1560,7 @@ void rlNormal3f(float x, float y, float z)
float length = sqrtf(normalx*normalx + normaly*normaly + normalz*normalz);
if (length != 0.0f)
{
- float ilength = 1.0f / length;
+ float ilength = 1.0f/length;
normalx *= ilength;
normaly *= ilength;
normalz *= ilength;