Add Draw3DCircle function and update raylib and rlgl header

Draw3DCircle is useful to draw point lights radius.
This commit is contained in:
victorfisac
2016-05-30 19:18:11 +02:00
parent ae2d0d4cd8
commit 2e26ce235d
3 changed files with 22 additions and 2 deletions

View File

@@ -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;