Example #1
0
/*
==========
Scale by X
==========
*/
void PS2Sprite::ScaleX( const float s ) {
	Matrix4x4 rotationMatrix; 
	rotationMatrix.ScaleX( s ); 
	for( int i = 0; i < mNumOfVerts; i++ ) {
		pVerts[ i ] = rotationMatrix * pVerts[ i ];
	}
}