Graphics Reference
In-Depth Information
B
Matrix4 C++ Class
One of the trends in OpenGL is to have the application developer bear the
responsibility to manipulate and provide the needed transformation matrices.
We have created a 4 × 4 matrix class called Matrix4 to handle a lot of this work.
The following methods are supported by the class
Matrix4( );
Matrix4( const Matrix4& );
Matrix4( float, float, float, float, float, float, float, float,
float, float, float, float, float, float, float, float );
Matrix4( float [4][4] );
Matrix4& Frustum( float, float, float, float, float, float );
Matrix4& FrustumZ( float, float, float, float, float, float,
float );
469
Search WWH ::




Custom Search