atomes 1.1.14
atomes: an atomic scale modeling tool box
Loading...
Searching...
No Matches
Light Struct Reference

#include <glwin.h>

+ Collaboration diagram for Light:

Data Fields

int type
 
int fix
 
int show
 
vec3_t position
 
vec3_t direction
 
vec3_t intensity
 
vec3_t attenuation
 
vec3_t spot_data
 

Detailed Description

Definition at line 180 of file glwin.h.

Field Documentation

◆ attenuation

vec3_t attenuation

Constant, linear and quadratic attenuations

Definition at line 188 of file glwin.h.

◆ direction

vec3_t direction

Light direction for directional and spot lights

Definition at line 186 of file glwin.h.

◆ fix

int fix

Light fix: 0 = fix for the view, 1 = fix for the molecule

Definition at line 183 of file glwin.h.

◆ intensity

vec3_t intensity

Light colors

Definition at line 187 of file glwin.h.

◆ position

Light position

Definition at line 185 of file glwin.h.

◆ show

int show

Show (1) or hide light (0)

Definition at line 184 of file glwin.h.

◆ spot_data

vec3_t spot_data

Angle, inner and outer spot light cutoff

Definition at line 189 of file glwin.h.

◆ type

int type

Light type: 0 = directional, 1 = point, 2 = spot light

Definition at line 182 of file glwin.h.


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