Class UpAxisTransformer

java.lang.Object
com.gaia3d.process.preprocess.sub.UpAxisTransformer

public class UpAxisTransformer extends Object
  • Constructor Details

    • UpAxisTransformer

      public UpAxisTransformer()
  • Method Details

    • rotateDegreeX

      public static void rotateDegreeX(GaiaScene scene, double radian)
      Rotate the scene around the X-axis to transform it to Z-Up orientation.
      Parameters:
      scene - the GaiaScene
      radian - angle in radians
    • rotateXAxis

      public static void rotateXAxis(GaiaScene scene, double radian)
      Rotate the scene around the X-axis to transform it to Z-Up orientation.
      Parameters:
      scene - the GaiaScene
      radian - angle in radians
    • transformToZUp

      public static void transformToZUp(GaiaScene gaiaScene)
    • transformToYUp

      public static void transformToYUp(GaiaScene gaiaScene)