Interface IForgeTransformationMatrix

    • Method Detail

      • isIdentity

        default boolean isIdentity()
      • transformPosition

        default void transformPosition​(Vector4f position)
      • transformNormal

        default void transformNormal​(Vector3f normal)
      • blockCenterToCorner

        default TransformationMatrix blockCenterToCorner()
        convert transformation from assuming center-block system to opposing-corner-block system
      • blockCornerToCenter

        default TransformationMatrix blockCornerToCenter()
        convert transformation from assuming opposing-corner-block system to center-block system
      • applyOrigin

        default TransformationMatrix applyOrigin​(Vector3f origin)
        Apply this transformation to a different origin. Can be used for switching between coordinate systems. Parameter is relative to the current origin.