summaryrefslogtreecommitdiff
path: root/engine/src/vector.rs
diff options
context:
space:
mode:
Diffstat (limited to 'engine/src/vector.rs')
-rw-r--r--engine/src/vector.rs6
1 files changed, 1 insertions, 5 deletions
diff --git a/engine/src/vector.rs b/engine/src/vector.rs
index e8d51d2..00b2ea5 100644
--- a/engine/src/vector.rs
+++ b/engine/src/vector.rs
@@ -23,11 +23,7 @@ pub struct Vec3<Value>
impl Vec3<f32>
{
- pub const UP: Self = Self {
- x: 0.0,
- y: 1.0,
- z: 0.0,
- };
+ pub const UP: Self = Self { x: 0.0, y: 1.0, z: 0.0 };
/// Returns the length of the vector.
#[must_use]