Light data
| 42 | |
| 43 | // Light data |
| 44 | struct Light { |
| 45 | LightType type; |
| 46 | int enabled; |
| 47 | raylib::Vector3 position; |
| 48 | raylib::Vector3 target; |
| 49 | std::array<float, 4> color; |
| 50 | float intensity; |
| 51 | |
| 52 | // Shader light parameters locations |
| 53 | int typeLoc; |
| 54 | int enabledLoc; |
| 55 | int positionLoc; |
| 56 | int targetLoc; |
| 57 | int colorLoc; |
| 58 | int intensityLoc; |
| 59 | }; |
| 60 | |
| 61 | //---------------------------------------------------------------------------------- |
| 62 | // Global Variables Definition |
nothing calls this directly
no outgoing calls
no test coverage detected