cpe::light Struct Reference

Container of a light. More...

+ Collaboration diagram for cpe::light:

Public Member Functions

 light (const vec3 &position=vec3(), const color &c=color(1, 1, 1), float power=1.0)
 direct constructor More...
 

Public Attributes

vec3 p
 light position More...
 
color c
 light color More...
 
float power
 light power More...
 

Detailed Description

Container of a light.

Constructor & Destructor Documentation

cpe::light::light ( const vec3 position = vec3(),
const color c = color(1,1,1),
float  power = 1.0 
)

direct constructor

Member Data Documentation

color cpe::light::c

light color

vec3 cpe::light::p

light position

float cpe::light::power

light power


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