mirror of
https://github.com/godotengine/godot.git
synced 2025-12-08 06:09:55 +00:00
Swap args of Plane(point, normal) constructor
Now (normal, point)
This commit is contained in:
parent
96410f55b2
commit
b4eeeb315a
20 changed files with 88 additions and 77 deletions
|
|
@ -119,8 +119,9 @@ void Variant::_register_variant_constructors() {
|
|||
|
||||
add_constructor<VariantConstructNoArgs<Plane>>(sarray());
|
||||
add_constructor<VariantConstructor<Plane, Plane>>(sarray("from"));
|
||||
add_constructor<VariantConstructor<Plane, Vector3>>(sarray("normal"));
|
||||
add_constructor<VariantConstructor<Plane, Vector3, double>>(sarray("normal", "d"));
|
||||
add_constructor<VariantConstructor<Plane, Vector3, Vector3>>(sarray("point", "normal"));
|
||||
add_constructor<VariantConstructor<Plane, Vector3, Vector3>>(sarray("normal", "point"));
|
||||
add_constructor<VariantConstructor<Plane, Vector3, Vector3, Vector3>>(sarray("point1", "point2", "point3"));
|
||||
add_constructor<VariantConstructor<Plane, double, double, double, double>>(sarray("a", "b", "c", "d"));
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue