On Thursday, 1 December 2022 at 01:17:16 UTC, Steven
Schveighoffer wrote:
On 11/30/22 7:56 PM, jwatson-CO-edu wrote:
uint MAX_LIGHTS = 4;
The rlights header file is not part of the raylib library, but
is in the examples directory, you will need to port it. It's
not very big, you probably can
On 11/30/22 7:56 PM, jwatson-CO-edu wrote:
uint MAX_LIGHTS = 4;
This needs to be an `enum`.
//...
Light[MAX_LIGHTS] lights; // Error: undefined identifier `Light`
The rlights header file is not part of the raylib library, but is in the
examples directory, you will need to port it. It's no
I am attempting to recreate the [Raylib flat shading
tutorial](https://www.raylib.com/examples/shaders/loader.html?name=shaders_basic_lighting) with raylib-d. I have been able to find most of the necessary wrappers except the one the creates light sources. How do I create light sources in raylib-