mirror of
https://github.com/raysan5/raylib.git
synced 2025-09-07 03:48:15 +00:00
Update rlights.h
This commit is contained in:
@@ -49,6 +49,7 @@ typedef struct {
|
|||||||
Vector3 position;
|
Vector3 position;
|
||||||
Vector3 target;
|
Vector3 target;
|
||||||
Color color;
|
Color color;
|
||||||
|
float attenuation;
|
||||||
|
|
||||||
// Shader locations
|
// Shader locations
|
||||||
int enabledLoc;
|
int enabledLoc;
|
||||||
@@ -56,6 +57,7 @@ typedef struct {
|
|||||||
int positionLoc;
|
int positionLoc;
|
||||||
int targetLoc;
|
int targetLoc;
|
||||||
int colorLoc;
|
int colorLoc;
|
||||||
|
int attenuationLoc;
|
||||||
} Light;
|
} Light;
|
||||||
|
|
||||||
// Light type
|
// Light type
|
||||||
|
Reference in New Issue
Block a user