Interface IForgeTransformation
- All Known Implementing Classes:
Transformation
public interface IForgeTransformation
-
Method Summary
Modifier and TypeMethodDescriptiondefault Transformation
applyOrigin(Vector3f origin)
Apply this transformation to a different origin.default Transformation
convert transformation from assuming center-block system to opposing-corner-block systemdefault Transformation
convert transformation from assuming opposing-corner-block system to center-block systemdefault boolean
default void
default Direction
rotateTransform(Direction facing)
private Transformation
self()
default void
transformNormal(Vector3f normal)
default void
transformPosition(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.
-