code: 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);   
      }
docs: Create a new rotation Transform
  
  @param angle The angle in radians to set the transform.
  @return The resulting Transform