Interface IForgeTransformationMatrix
- All Known Implementing Classes:
TransformationMatrix
public interface IForgeTransformationMatrix
-
Method Summary
Modifier and TypeMethodDescriptiondefault TransformationMatrix
applyOrigin
(Vector3f origin) Apply this transformation to a different origin.default TransformationMatrix
convert transformation from assuming center-block system to opposing-corner-block systemdefault TransformationMatrix
convert transformation from assuming opposing-corner-block system to center-block systemdefault TransformationMatrix
compose
(TransformationMatrix other) default TransformationMatrix
default TransformationMatrix
inverse()
default boolean
default void
push
(MatrixStack stack) default Direction
rotateTransform
(Direction facing) default void
transformNormal
(Vector3f normal) default void
transformPosition
(Vector4f position)
-
Method Details
-
getTransformaion
-
isIdentity
default boolean isIdentity() -
push
-
compose
-
inverse
-
transformPosition
-
transformNormal
-
rotateTransform
-
blockCenterToCorner
convert transformation from assuming center-block system to opposing-corner-block system -
blockCornerToCenter
convert transformation from assuming opposing-corner-block system to center-block system -
applyOrigin
Apply this transformation to a different origin. Can be used for switching between coordinate systems. Parameter is relative to the current origin.
-