This website works better with JavaScript.
Home
Explore
Help
Sign In
Archivist
/
raylib-src
mirror of
https://github.com/raysan5/raylib
Watch
1
Star
0
Fork
0
Code
Issues
0
Releases
24
Wiki
Activity
Browse Source
Update rlights.h
pull/2534/head
Ray
2 years ago
parent
77b9ca50e0
commit
d7a0b46006
1 changed files
with
2 additions
and
0 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+2
-0
examples/shaders/rlights.h
+ 2
- 0
examples/shaders/rlights.h
View File
@ -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
Write
Preview
Loading…
Cancel
Save