Merge pull request #550 from abaire/master
Populates incorrect constants for Vector2 and 3 types.pull/552/head
commit
1637975a0b
|
@ -6,9 +6,9 @@
|
|||
|
||||
namespace godot {
|
||||
|
||||
const Vector2 Vector2::ZERO;
|
||||
const Vector2 Vector2::ONE;
|
||||
const Vector2 Vector2::INF;
|
||||
const Vector2 Vector2::ZERO = Vector2();
|
||||
const Vector2 Vector2::ONE = Vector2(1, 1);
|
||||
const Vector2 Vector2::INF = Vector2(INFINITY, INFINITY);
|
||||
|
||||
const Vector2 Vector2::LEFT = Vector2(-1, 0);
|
||||
const Vector2 Vector2::RIGHT = Vector2(1, 0);
|
||||
|
|
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue