Class OBBRotList
java.lang.Object
com.hammy275.immersivemc.common.obb.OBBRotList
- 
Method SummaryModifier and TypeMethodDescriptionAdd the given rotation to this OBBRotList.Add the given rotation to this OBBRotList.org.joml.Quaternionfcopy()static OBBRotListcreate()Creates an OBBRotList with no rotations.static OBBRotListCreates an OBBRotList with one or more rotations.
- 
Method Details- 
addRotAdd the given rotation to this OBBRotList.- Parameters:
- rot- Rotation to add.
- rotType- Rotation type to add.
- Returns:
- this.
 
- 
addRotAdd the given rotation to this OBBRotList.- Parameters:
- rot- Rotation to add.
- rotType- Rotation type to add.
- Returns:
- this.
 
- 
getRotations- Returns:
- A copy of the rotations that make this rotation list.
 
- 
asQuaternionpublic org.joml.Quaternionf asQuaternion()- Returns:
- This OBBRotListas a Quaternion
 
- 
copy- Returns:
- A copy of this OBBRotList
 
- 
createCreates an OBBRotList with no rotations.- Returns:
- A new OBBRotList instance.
 
- 
createCreates an OBBRotList with one or more rotations.- Parameters:
- rotations- One or more non-null rotations to initialize this OBBRotList with.
- Returns:
- A new OBBRotList instance.
 
 
-