GameApi 28
Library used by GameApi Builder tool
Loading...
Searching...
No Matches
Phong Class Reference
Inheritance diagram for Phong:
Collaboration diagram for Phong:

Public Member Functions

 Phong (VectorVolumeObject *normal, Point lightpos, Color i_s, Color i_d, Color i_a, float k_s, float k_d, float k_a, float alfa)
unsigned int ColorValue (Point p) const
Public Member Functions inherited from ColorVolumeObject
virtual ~ColorVolumeObject ()

Constructor & Destructor Documentation

◆ Phong()

Phong::Phong ( VectorVolumeObject * normal,
Point lightpos,
Color i_s,
Color i_d,
Color i_a,
float k_s,
float k_d,
float k_a,
float alfa )
inline

Member Function Documentation

◆ ColorValue()

unsigned int Phong::ColorValue ( Point p) const
inlinevirtual

Implements ColorVolumeObject.


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