MathUtil

class MathUtil

Math

Functions

Link copied to clipboard
@NotNull
open fun animationToDisplay(@NotNull vector: Vector3f): Vector3f
Converts animation rotation to display rotation
Link copied to clipboard
@NotNull
open fun blockBenchToDisplay(@NotNull vector: Vector3f): Vector3f
Converts BlockBench position(right-hand) to display position(left-hand)
Link copied to clipboard
@NotNull
open fun toQuaternion(@NotNull vector: Vector3f): Quaternionf
Converts vector rotation to quaternion
Link copied to clipboard
@NotNull
open fun transformToDisplay(@NotNull vector: Vector3f): Vector3f
Converts animation position to display position