diff options
author | HampusM <hampus@hampusmat.com> | 2023-10-26 21:05:34 +0200 |
---|---|---|
committer | HampusM <hampus@hampusmat.com> | 2023-10-26 21:05:34 +0200 |
commit | eab619bd5cfc520d3962097d16582eae6977d6dc (patch) | |
tree | c5a6ab322f33d452733bac233c631eb6a4fbcef9 /engine/src/vector.rs | |
parent | 76a3a021402e05823e1f82fd592c853a4a6be563 (diff) |
style: increase max struct literal width to 36
Diffstat (limited to 'engine/src/vector.rs')
-rw-r--r-- | engine/src/vector.rs | 6 |
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] |