diff options
| author | Ray <[email protected]> | 2022-06-22 00:35:06 +0200 |
|---|---|---|
| committer | Ray <[email protected]> | 2022-06-22 00:35:06 +0200 |
| commit | d7a0b4600694a821e8ebb8c47950cb07b445bece (patch) | |
| tree | 9d1f2e383d40d21fbf0a0d26f2fc6770063d2081 /examples | |
| parent | 77b9ca50e09a52acf21de571652d6f84b9755902 (diff) | |
| download | raylib-d7a0b4600694a821e8ebb8c47950cb07b445bece.tar.gz raylib-d7a0b4600694a821e8ebb8c47950cb07b445bece.zip | |
Update rlights.h
Diffstat (limited to 'examples')
| -rw-r--r-- | examples/shaders/rlights.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/examples/shaders/rlights.h b/examples/shaders/rlights.h index 4a5677bc..cf0f7629 100644 --- a/examples/shaders/rlights.h +++ b/examples/shaders/rlights.h @@ -49,6 +49,7 @@ typedef struct { Vector3 position; Vector3 target; Color color; + float attenuation; // Shader locations int enabledLoc; @@ -56,6 +57,7 @@ typedef struct { int positionLoc; int targetLoc; int colorLoc; + int attenuationLoc; } Light; // Light type |
