diff --git a/godot-core/src/builtin/vector3.rs b/godot-core/src/builtin/vector3.rs index 4d00aac33..78084e4ae 100644 --- a/godot-core/src/builtin/vector3.rs +++ b/godot-core/src/builtin/vector3.rs @@ -46,10 +46,10 @@ impl Vector3 { pub const RIGHT: Self = Self::new(1.0, 0.0, 0.0); /// Unit vector in -Y direction. Typically interpreted as down in a 3D world. - pub const UP: Self = Self::new(0.0, -1.0, 0.0); + pub const UP: Self = Self::new(0.0, 1.0, 0.0); /// Unit vector in +Y direction. Typically interpreted as up in a 3D world. - pub const DOWN: Self = Self::new(0.0, 1.0, 0.0); + pub const DOWN: Self = Self::new(0.0, -1.0, 0.0); /// Unit vector in -Z direction. Can be interpreted as "into the screen" in an untransformed 3D world. pub const FORWARD: Self = Self::new(0.0, 0.0, -1.0); diff --git a/godot-core/src/builtin/vector3i.rs b/godot-core/src/builtin/vector3i.rs index f42036412..93376c873 100644 --- a/godot-core/src/builtin/vector3i.rs +++ b/godot-core/src/builtin/vector3i.rs @@ -45,10 +45,10 @@ impl Vector3i { pub const RIGHT: Self = Self::new(1, 0, 0); /// Unit vector in -Y direction. - pub const UP: Self = Self::new(0, -1, 0); + pub const UP: Self = Self::new(0, 1, 0); /// Unit vector in +Y direction. - pub const DOWN: Self = Self::new(0, 1, 0); + pub const DOWN: Self = Self::new(0, -1, 0); /// Unit vector in -Z direction. pub const FORWARD: Self = Self::new(0, 0, -1);