Update rlights.h
This commit is contained in:
parent
77b9ca50e0
commit
d7a0b46006
1 changed files with 2 additions and 0 deletions
|
@ -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
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue