28 .position = {0, 1, 0},
29 .direction = {0, -1, 1},
uint32_t gmColor
Type definition for color values, stored as a 32-bit unsigned integer. The color components are packe...
Definition color.h:13
const gm3Light gm3_default_light
A default gm3Light instance.
Definition light.h:27
int gm3_light_create(gm3Light *l)
Initializes a gm3Light struct with default values.
Definition light.h:40
Represents a single light source in a 3D scene.
Definition light.h:13
double intensity
Definition light.h:17
gm3Pos position
Definition light.h:14
gm3Pos direction
Definition light.h:15
gmColor color
Definition light.h:16
double ambient
Definition light.h:18
Represents a 3D position or vector.
Definition position.h:11