Update Vector3.cpp
All checks were successful
Run ReCI Build Test / Explore-Gitea-Actions (push) Successful in 1m24s
Build Docs With Doxygen / Explore-Gitea-Actions (push) Successful in 30s

Added missing Vector3::One
This commit is contained in:
2024-10-31 02:09:23 -04:00
parent 3fc9ca3954
commit 80b752128c

View File

@@ -10,6 +10,7 @@
namespace J3ML::LinearAlgebra {
const Vector3 Vector3::Zero = {0,0,0};
const Vector3 Vector3::One = {1, 1, 1};
const Vector3 Vector3::Up = {0, -1, 0};
const Vector3 Vector3::Down = {0, 1, 0};
const Vector3 Vector3::Left = {-1, 0, 0};