TinyGL 0.4.1 for MinGW
Data Fields
GLLight Struct Reference

#include <zgl.h>

Data Fields

V4 ambient
 
V4 diffuse
 
V4 specular
 
V4 position
 
V3 spot_direction
 
float spot_exponent
 
float spot_cutoff
 
float attenuation [3]
 
float cos_spot_cutoff
 
V3 norm_spot_direction
 
V3 norm_position
 
int enabled
 
struct GLLightnext
 
struct GLLightprev
 

Detailed Description

Definition at line 59 of file zgl.h.

Field Documentation

◆ ambient

V4 ambient

Definition at line 60 of file zgl.h.

◆ attenuation

float attenuation[3]

Definition at line 67 of file zgl.h.

◆ cos_spot_cutoff

float cos_spot_cutoff

Definition at line 69 of file zgl.h.

◆ diffuse

V4 diffuse

Definition at line 61 of file zgl.h.

◆ enabled

int enabled

Definition at line 73 of file zgl.h.

◆ next

struct GLLight* next

Definition at line 74 of file zgl.h.

◆ norm_position

V3 norm_position

Definition at line 71 of file zgl.h.

◆ norm_spot_direction

V3 norm_spot_direction

Definition at line 70 of file zgl.h.

◆ position

V4 position

Definition at line 63 of file zgl.h.

◆ prev

struct GLLight * prev

Definition at line 74 of file zgl.h.

◆ specular

V4 specular

Definition at line 62 of file zgl.h.

◆ spot_cutoff

float spot_cutoff

Definition at line 66 of file zgl.h.

◆ spot_direction

V3 spot_direction

Definition at line 64 of file zgl.h.

◆ spot_exponent

float spot_exponent

Definition at line 65 of file zgl.h.


The documentation for this struct was generated from the following file: