/* ============= Rotate Sprite ============= */ void PS2Sprite::Rotate( const float a ) { Matrix4x4 rotationMatrix; rotationMatrix.RotationZ( a ) ; // apply required rotation to matrix for( int i = 0; i < mNumOfVerts; i++ ) { // apply to Vertex Vectors pVerts[ i ] = rotationMatrix * pVerts[ i ]; } }