aboutsummaryrefslogtreecommitdiff
path: root/src/rlgl.h
diff options
context:
space:
mode:
authorvictorfisac <victorfisac@gmail.com>2016-05-30 19:18:11 +0200
committervictorfisac <victorfisac@gmail.com>2016-05-30 19:18:11 +0200
commit2e26ce235d00fdc633559f9404ddd8ec70c96df7 (patch)
tree69aa39306bf42ddd92de8cc3bec5c2f4d98aa81f /src/rlgl.h
parentae2d0d4cd8739c49b1a4e230e6f1ca4a8bdab319 (diff)
downloadraylib-2e26ce235d00fdc633559f9404ddd8ec70c96df7.tar.gz
raylib-2e26ce235d00fdc633559f9404ddd8ec70c96df7.zip
Add Draw3DCircle function and update raylib and rlgl header
Draw3DCircle is useful to draw point lights radius.
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 a3ba6cd5..d4a2dabe 100644
--- a/src/rlgl.h
+++ b/src/rlgl.h
@@ -218,7 +218,7 @@ typedef enum { OPENGL_11 = 1, OPENGL_33, OPENGL_ES_20 } GlVersion;
Vector3 position;
Vector3 target; // Used on LIGHT_DIRECTIONAL and LIGHT_SPOT (cone direction target)
- float attenuation; // Lost of light intensity with distance (world distance)
+ float radius; // Lost of light intensity with distance (world distance)
Color diffuse; // Use Vector3 diffuse
float intensity;