Interface IForgeTransformationMatrix
- All Known Implementing Classes:
TransformationMatrix
public interface IForgeTransformationMatrix
-
Method Summary
Modifier and TypeMethodDescriptiondefault TransformationMatrixapplyOrigin(Vector3f origin) Apply this transformation to a different origin.default TransformationMatrixconvert transformation from assuming center-block system to opposing-corner-block systemdefault TransformationMatrixconvert transformation from assuming opposing-corner-block system to center-block systemdefault TransformationMatrixcompose(TransformationMatrix other) default TransformationMatrixdefault TransformationMatrixinverse()default booleandefault voidpush(MatrixStack stack) default DirectionrotateTransform(Direction facing) default voidtransformNormal(Vector3f normal) default voidtransformPosition(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.
-