diff options
author | Marc <marc.gilleron@gmail.com> | 2021-05-03 15:26:54 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-05-03 15:26:54 +0100 |
commit | 1637975a0ba3ac797e4c45d5bcadcd2ec58e66fe (patch) | |
tree | af927c5999f61e518bc35392f00258d2a2d0d56d /src/core/Vector3.cpp | |
parent | d7c55b1ab2606253e94db5ed3caf75f90a47d03c (diff) | |
parent | 2ccc5e08f2fe9a6bf63c14c9278bf84bb317d6d1 (diff) | |
download | redot-cpp-1637975a0ba3ac797e4c45d5bcadcd2ec58e66fe.tar.gz |
Merge pull request #550 from abaire/master
Populates incorrect constants for Vector2 and 3 types.
Diffstat (limited to 'src/core/Vector3.cpp')
-rw-r--r-- | src/core/Vector3.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/Vector3.cpp b/src/core/Vector3.cpp index f4db462..1088ea6 100644 --- a/src/core/Vector3.cpp +++ b/src/core/Vector3.cpp @@ -9,7 +9,7 @@ namespace godot { const Vector3 Vector3::ZERO = Vector3(); -const Vector3 Vector3::ONE = Vector3(); +const Vector3 Vector3::ONE = Vector3(1, 1, 1); const Vector3 Vector3::INF = Vector3(INFINITY, INFINITY, INFINITY); const Vector3 Vector3::LEFT = Vector3(-1, 0, 0); |