Interface IForgeTransformationMatrix
-
- All Known Implementing Classes:
TransformationMatrix
public interface IForgeTransformationMatrix
-
-
Method Summary
All Methods Instance Methods Default Methods Modifier and Type Method Description default TransformationMatrix
applyOrigin(Vector3f origin)
Apply this transformation to a different origin.default TransformationMatrix
blockCenterToCorner()
convert transformation from assuming center-block system to opposing-corner-block systemdefault TransformationMatrix
blockCornerToCenter()
convert transformation from assuming opposing-corner-block system to center-block systemdefault TransformationMatrix
compose(TransformationMatrix other)
default TransformationMatrix
getTransformaion()
default TransformationMatrix
inverse()
default boolean
isIdentity()
default void
push(MatrixStack stack)
default Direction
rotateTransform(Direction facing)
default void
transformNormal(Vector3f normal)
default void
transformPosition(Vector4f position)
-
-
-
Method Detail
-
getTransformaion
default TransformationMatrix getTransformaion()
-
isIdentity
default boolean isIdentity()
-
push
default void push(MatrixStack stack)
-
compose
default TransformationMatrix compose(TransformationMatrix other)
-
inverse
default TransformationMatrix inverse()
-
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.
-
-