diff options
Diffstat (limited to 'examples/shaders')
| -rw-r--r-- | examples/shaders/rlights.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/examples/shaders/rlights.h b/examples/shaders/rlights.h index 0441062b..f9727c9e 100644 --- a/examples/shaders/rlights.h +++ b/examples/shaders/rlights.h @@ -69,6 +69,11 @@ extern "C" { // Prevents name mangling of functions #endif //---------------------------------------------------------------------------------- +// Global Variables Definition +//---------------------------------------------------------------------------------- +int lightsCount = 0; // Current amount of created lights + +//---------------------------------------------------------------------------------- // Module Functions Declaration //---------------------------------------------------------------------------------- Light CreateLight(int type, Vector3 position, Vector3 target, Color color, Shader shader); // Create a light and get shader locations @@ -104,7 +109,7 @@ void UpdateLightValues(Shader shader, Light light); // Send light proper //---------------------------------------------------------------------------------- // Global Variables Definition //---------------------------------------------------------------------------------- -static int lightsCount = 0; // Current amount of created lights +// ... //---------------------------------------------------------------------------------- // Module specific Functions Declaration |
