public static Transform createRotateTransform ( float angle ) { return new Transform ( ( float ) FastTrig . cos ( angle ) , - ( float ) FastTrig . sin ( angle ) , 0 , ( float ) FastTrig . sin ( angle ) , ( float ) FastTrig . cos ( angle ) , 0 ) ; }
Create a new rotation Transform