Vegastrike 0.5.1 rc1  1.0
Original sources for Vegastrike Evolved
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
csZScaleMatrix3 Class Reference

An instance of csMatrix3 that is initialized to scale the Z dimension. More...

#include <opmatrix3.h>

Inheritance diagram for csZScaleMatrix3:
csMatrix3

Public Member Functions

 csZScaleMatrix3 (float scaler)
 
- Public Member Functions inherited from csMatrix3
 csMatrix3 ()
 Construct a matrix, initialized to be the identity. More...
 
 csMatrix3 (float am11, float am12, float am13, float am21, float am22, float am23, float am31, float am32, float am33)
 Construct a matrix and initialize it. More...
 
 csMatrix3 (const Quaternion &quat)
 Construct a matrix with a quaternion. More...
 
csVector3 Row1 () const
 Get the first row of this matrix as a vector. More...
 
csVector3 Row2 () const
 Get the second row of this matrix as a vector. More...
 
csVector3 Row3 () const
 Get the third row of this matrix as a vector. More...
 
csVector3 Col1 () const
 Get the first column of this matrix as a vector. More...
 
csVector3 Col2 () const
 Get the second column of this matrix as a vector. More...
 
csVector3 Col3 () const
 Get the third column of this matrix as a vector. More...
 
void Set (float m11, float m12, float m13, float m21, float m22, float m23, float m31, float m32, float m33)
 Set matrix values. More...
 
void Set (const Quaternion &quat)
 Initialize matrix with a quaternion. More...
 
csMatrix3operator+= (const csMatrix3 &m)
 Add another matrix to this matrix. More...
 
csMatrix3operator-= (const csMatrix3 &m)
 Subtract another matrix from this matrix. More...
 
csMatrix3operator*= (const csMatrix3 &m)
 Multiply another matrix with this matrix. More...
 
csMatrix3operator*= (float s)
 Multiply this matrix with a scalar. More...
 
csMatrix3operator/= (float s)
 Divide this matrix by a scalar. More...
 
csMatrix3 operator+ () const
 Unary + operator. More...
 
csMatrix3 operator- () const
 Unary - operator. More...
 
void Transpose ()
 Transpose this matrix. More...
 
csMatrix3 GetTranspose () const
 Return the transpose of this matrix. More...
 
csMatrix3 GetInverse () const
 Return the inverse of this matrix. More...
 
void Invert ()
 Invert this matrix. More...
 
float Determinant () const
 Compute the determinant of this matrix. More...
 
void Identity ()
 Set this matrix to the identity matrix. More...
 
bool IsIdentity () const
 Check if the matrix is identity. More...
 

Additional Inherited Members

- Public Attributes inherited from csMatrix3
float m11
 
float m12
 
float m13
 
float m21
 
float m22
 
float m23
 
float m31
 
float m32
 
float m33
 

Detailed Description

An instance of csMatrix3 that is initialized to scale the Z dimension.

Definition at line 231 of file opmatrix3.h.

Constructor & Destructor Documentation

csZScaleMatrix3::csZScaleMatrix3 ( float  scaler)
inline

Return a matrix which scales in the Z dimension.

Definition at line 237 of file opmatrix3.h.

237 : csMatrix3(1, 0, 0, 0, 1, 0, 0, 0, scaler) {}

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