summaryrefslogtreecommitdiff
path: root/core
diff options
context:
space:
mode:
authorAaron Franke <arnfranke@yahoo.com>2018-08-21 01:34:34 -0400
committerAaron Franke <arnfranke@yahoo.com>2018-08-21 01:35:07 -0400
commita986686ac4b4896fc13feb5a85e64e511e6a4c83 (patch)
tree3f9f74be9e2465e8cca2f57b09b3d703004baf6f /core
parente9cb03f33eb5e17ce3638c033299a4f919dab194 (diff)
Rename Plane constants, add to Mono
But I'm not tagging PR as [Core] or [Mono] due to it being a minor change anyway.
Diffstat (limited to 'core')
-rw-r--r--core/variant_call.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/core/variant_call.cpp b/core/variant_call.cpp
index ea51419233..cddf4fcdb1 100644
--- a/core/variant_call.cpp
+++ b/core/variant_call.cpp
@@ -1920,9 +1920,9 @@ void register_variant_methods() {
transform_x.set(1, 0, 0, 0, 1, 0, 0, 0, -1, 0, 0, 0);
_VariantCall::add_variant_constant(Variant::TRANSFORM, "FLIP_Z", transform_z);
- _VariantCall::add_variant_constant(Variant::PLANE, "X", Plane(Vector3(1, 0, 0), 0));
- _VariantCall::add_variant_constant(Variant::PLANE, "Y", Plane(Vector3(0, 1, 0), 0));
- _VariantCall::add_variant_constant(Variant::PLANE, "Z", Plane(Vector3(0, 0, 1), 0));
+ _VariantCall::add_variant_constant(Variant::PLANE, "PLANE_YZ", Plane(Vector3(1, 0, 0), 0));
+ _VariantCall::add_variant_constant(Variant::PLANE, "PLANE_XZ", Plane(Vector3(0, 1, 0), 0));
+ _VariantCall::add_variant_constant(Variant::PLANE, "PLANE_XY", Plane(Vector3(0, 0, 1), 0));
_VariantCall::add_variant_constant(Variant::QUAT, "IDENTITY", Quat(0, 0, 0, 1));