Interface IForgeTransformation
- All Known Implementing Classes:
Transformation
public interface IForgeTransformation
-
Method Summary
Modifier and TypeMethodDescriptiondefault TransformationapplyOrigin(Vector3f origin)Apply this transformation to a different origin.default Transformationconvert transformation from assuming center-block system to opposing-corner-block systemdefault Transformationconvert transformation from assuming opposing-corner-block system to center-block systemdefault booleandefault voiddefault DirectionrotateTransform(Direction facing)private Transformationself()default voidtransformNormal(Vector3f normal)default voidtransformPosition(Vector4f position)
-
Method Details
-
self
-
isIdentity
default boolean isIdentity() -
push
-
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.
-