We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c1f1eea commit 9673de1Copy full SHA for 9673de1
Sources/GameMath/3D Types (New)/Vector3n.swift
@@ -51,6 +51,8 @@ public struct Size3n<Scalar: Vector3n.ScalarType>: Vector3n {
51
self.y = y
52
self.z = z
53
}
54
+
55
+ public static var one: Self { .init(x: 1, y: 1, z: 1) }
56
57
extension Size3n: AdditiveArithmetic where Scalar: AdditiveArithmetic { }
58
extension Size3n: Equatable where Scalar: Equatable { }
0 commit comments