Class WorldTransform
java.lang.Object
com.render.api.world.WorldTransform
Immutable local-to-world transform.
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionWorldTransform(net.minecraft.world.phys.Vec3 translation, org.joml.Quaternionfc rotation, net.minecraft.world.phys.Vec3 scale) -
Method Summary
Modifier and TypeMethodDescriptionstatic WorldTransformat(double x, double y, double z) org.joml.Quaternionfrotation()net.minecraft.world.phys.Vec3scale()net.minecraft.world.phys.Vec3transformPoint(net.minecraft.world.phys.Vec3 point) net.minecraft.world.phys.Vec3withRotation(org.joml.Quaternionfc value) withScale(double uniform) withScale(net.minecraft.world.phys.Vec3 value) withTranslation(double x, double y, double z) withTranslation(net.minecraft.world.phys.Vec3 value)
-
Field Details
-
IDENTITY
-
-
Constructor Details
-
WorldTransform
public WorldTransform(net.minecraft.world.phys.Vec3 translation, org.joml.Quaternionfc rotation, net.minecraft.world.phys.Vec3 scale)
-
-
Method Details
-
at
-
translation
public net.minecraft.world.phys.Vec3 translation() -
rotation
public org.joml.Quaternionf rotation() -
scale
public net.minecraft.world.phys.Vec3 scale() -
withTranslation
-
withTranslation
-
withRotation
-
withScale
-
withScale
-
transformPoint
public net.minecraft.world.phys.Vec3 transformPoint(net.minecraft.world.phys.Vec3 point)
-