diff --git a/src/main.rs b/src/main.rs index 426d1438..68dd5ef1 100644 --- a/src/main.rs +++ b/src/main.rs @@ -413,9 +413,9 @@ fn main() { ); let view = Matrix4::from_translation(pos)*Matrix4::from(angles); let scale = Matrix4::from_scale(-0.01); - +// Matrix4::from_translation(Vector3 { x: 0.0, y: 0.0, z: 0.0 }) * let uniform_data = vs::Data { - world: (Matrix4::from_translation(Vector3 { x: 0.0, y: 0.0, z: 0.0 }) * Matrix4::from(rotation) * scale).into(), + world: (Matrix4::from(rotation) * scale).into(), view: view.invert().unwrap().cast::().unwrap().into(), proj: proj.into(), };