public Matrix4f getModelMatrix() {
Matrix4f mat4 = new Matrix4f();
mat4.setIdentity();
mat4.translate(new Vector3f(this.position.x,this.position.y,this.position.z));
mat4.scale(new Vector3f(this.scale.x,this.scale.y,this.scale.z));
mat4.rotate((float)Math.toRadians(this.rotation.x), new Vector3f(1.0f, 0.0f, 0.0f));
mat4.rotate((float)Math.toRadians(this.rotation.y), new Vector3f(0.0f, 1.0f, 0.0f));
mat4.rotate((float)Math.toRadians(this.rotation.z), new Vector3f(0.0f, 0.0f, 1.0f));