TransformationMatrix& TransformationMatrix::flipY()
{
    return scaleNonUniform(1.0f, -1.0f);
}
TransformationMatrix& TransformationMatrix::scale(double s)
{
    return scaleNonUniform(s, s);
}
TransformationMatrix& TransformationMatrix::flipX()
{
    return scaleNonUniform(-1.0f, 1.0f);
}
示例#4
0
		/** 
			Scale components of the vector.
		*/
		inline void scaleNonUniform( const Vector2I& scale )
		{
			scaleNonUniform( scale.x, scale.y );
		}