$search

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 (float x, float y, float z)
void SetLightDir (vec3 v)
void SetLightPos (float x, float y, float z)
void SetLightPos (vec3 v)

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

void tgLighting::Activate (  ) 

Definition at line 21 of file tgLighting.cpp.

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

Definition at line 13 of file tgLighting.cpp.

void tgLighting::Deactivate (  ) 

Definition at line 25 of file tgLighting.cpp.

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

Definition at line 50 of file tgLighting.h.

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

Definition at line 47 of file tgLighting.h.

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

Definition at line 49 of file tgLighting.h.

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

Definition at line 46 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:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Defines


blort
Author(s): Michael Zillich, Thomas Mörwald, Johann Prankl, Andreas Richtsfeld, Bence Magyar (ROS version)
autogenerated on Fri Mar 1 16:57:58 2013