From 2adb67c3c5e2038dc9841f2166e33313c71f4502 Mon Sep 17 00:00:00 2001 From: PrecisionRender Date: Sat, 30 Jul 2022 17:32:03 -0500 Subject: Add `operator*` to `Plane` --- core/variant/variant_op.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'core') diff --git a/core/variant/variant_op.cpp b/core/variant/variant_op.cpp index 669e18b5f7..6cca7955ae 100644 --- a/core/variant/variant_op.cpp +++ b/core/variant/variant_op.cpp @@ -341,6 +341,8 @@ void Variant::_register_variant_operators() { register_op>(Variant::OP_MULTIPLY, Variant::VECTOR3, Variant::TRANSFORM3D); register_op>(Variant::OP_MULTIPLY, Variant::TRANSFORM3D, Variant::AABB); register_op>(Variant::OP_MULTIPLY, Variant::AABB, Variant::TRANSFORM3D); + register_op>(Variant::OP_MULTIPLY, Variant::TRANSFORM3D, Variant::PLANE); + register_op>(Variant::OP_MULTIPLY, Variant::PLANE, Variant::TRANSFORM3D); register_op, Transform3D, Vector>>(Variant::OP_MULTIPLY, Variant::TRANSFORM3D, Variant::PACKED_VECTOR3_ARRAY); register_op, Vector, Transform3D>>(Variant::OP_MULTIPLY, Variant::PACKED_VECTOR3_ARRAY, Variant::TRANSFORM3D); -- cgit v1.2.3