diff --git a/crates/blue_engine_core/src/primitive_shapes/three_dimensions.rs b/crates/blue_engine_core/src/primitive_shapes/three_dimensions.rs index 638b4be..69cb3bc 100644 --- a/crates/blue_engine_core/src/primitive_shapes/three_dimensions.rs +++ b/crates/blue_engine_core/src/primitive_shapes/three_dimensions.rs @@ -106,7 +106,7 @@ pub fn cube(name: impl StringBuffer, renderer: &mut Renderer, objects: &mut Obje }, Vertex { position: Vector3::new(-1.0, 1.0, 1.0), - uv: Vector2::new(0.0, -1.0), + uv: Vector2::new(0.0, 1.0), normal: Vector3::new(0.0, 0.0, 0.0), }, Vertex { @@ -131,7 +131,7 @@ pub fn cube(name: impl StringBuffer, renderer: &mut Renderer, objects: &mut Obje normal: Vector3::new(0.0, 0.0, 0.0), }, Vertex { - position: Vector3::new(1.0, -1.0, 1.0), + position: Vector3::new(1.0, -1.0, -1.0), uv: Vector2::new(1.0, 1.0), normal: Vector3::new(0.0, 0.0, 0.0), },