Public Member Functions | Private Attributes
TomGine::tgLighting Class Reference

Class tgLighting. More...

#include <tgLighting.h>

List of all members.

Public Member Functions

void Activate ()
void ApplyLight (tgLight light, int index=0)
void Deactivate ()
void SetLightDir (vec3 v)
void SetLightDir (float x, float y, float z)
void SetLightPos (vec3 v)
void SetLightPos (float x, float y, float z)

Private Attributes

vec3 lightDir
vec3 lightPos

Detailed Description

Class tgLighting.

Handling lighting in OpenGL

Definition at line 35 of file tgLighting.h.


Member Function Documentation

Definition at line 21 of file tgLighting.cpp.

void tgLighting::ApplyLight ( tgLight  light,
int  index = 0 
)

Definition at line 13 of file tgLighting.cpp.

Definition at line 25 of file tgLighting.cpp.

void TomGine::tgLighting::SetLightDir ( vec3  v) [inline]

Definition at line 47 of file tgLighting.h.

void TomGine::tgLighting::SetLightDir ( float  x,
float  y,
float  z 
) [inline]

Definition at line 50 of file tgLighting.h.

void TomGine::tgLighting::SetLightPos ( vec3  v) [inline]

Definition at line 46 of file tgLighting.h.

void TomGine::tgLighting::SetLightPos ( float  x,
float  y,
float  z 
) [inline]

Definition at line 49 of file tgLighting.h.


Member Data Documentation

Definition at line 39 of file tgLighting.h.

Definition at line 38 of file tgLighting.h.


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


blort
Author(s): Michael Zillich, Thomas Mörwald, Johann Prankl, Andreas Richtsfeld, Bence Magyar (ROS version)
autogenerated on Thu Jan 2 2014 11:38:27