package gameEngine.geometry; import org.joml.Vector3f; public class Transform { public Vector3f position; public Vector3f rotation; public Vector3f scale; public Transform() { this.position = new Vector3f(0, 0, 0); this.rotation = new Vector3f(0, 0, 0); this.scale = new Vector3f(1, 1, 1); } public void setPosition(float x, float y, float z) { position.x = x; position.y = y; position.z = z; } public void setRotation(float x, float y, float z) { rotation.x = x; rotation.y = y; rotation.z = z; } public void setScale(float x, float y, float z) { scale.x = x; scale.y = y; scale.z = z; } }