File tree 2 files changed +8
-8
lines changed
2 files changed +8
-8
lines changed Original file line number Diff line number Diff line change @@ -45,11 +45,11 @@ impl Vector3 {
45
45
/// Unit vector in +X direction. Can be interpreted as right in an untransformed 3D world.
46
46
pub const RIGHT : Self = Self :: new ( 1.0 , 0.0 , 0.0 ) ;
47
47
48
- /// Unit vector in -Y direction. Typically interpreted as down in a 3D world.
49
- pub const UP : Self = Self :: new ( 0.0 , -1.0 , 0.0 ) ;
50
-
51
48
/// Unit vector in +Y direction. Typically interpreted as up in a 3D world.
52
- pub const DOWN : Self = Self :: new ( 0.0 , 1.0 , 0.0 ) ;
49
+ pub const UP : Self = Self :: new ( 0.0 , 1.0 , 0.0 ) ;
50
+
51
+ /// Unit vector in -Y direction. Typically interpreted as down in a 3D world.
52
+ pub const DOWN : Self = Self :: new ( 0.0 , -1.0 , 0.0 ) ;
53
53
54
54
/// Unit vector in -Z direction. Can be interpreted as "into the screen" in an untransformed 3D world.
55
55
pub const FORWARD : Self = Self :: new ( 0.0 , 0.0 , -1.0 ) ;
Original file line number Diff line number Diff line change @@ -44,11 +44,11 @@ impl Vector3i {
44
44
/// Unit vector in +X direction.
45
45
pub const RIGHT : Self = Self :: new ( 1 , 0 , 0 ) ;
46
46
47
- /// Unit vector in -Y direction.
48
- pub const UP : Self = Self :: new ( 0 , -1 , 0 ) ;
49
-
50
47
/// Unit vector in +Y direction.
51
- pub const DOWN : Self = Self :: new ( 0 , 1 , 0 ) ;
48
+ pub const UP : Self = Self :: new ( 0 , 1 , 0 ) ;
49
+
50
+ /// Unit vector in -Y direction.
51
+ pub const DOWN : Self = Self :: new ( 0 , -1 , 0 ) ;
52
52
53
53
/// Unit vector in -Z direction.
54
54
pub const FORWARD : Self = Self :: new ( 0 , 0 , -1 ) ;
You can’t perform that action at this time.
0 commit comments