Skip to content

Allow constructors with same arg count but different types

Rafał Mikrut requested to merge github/fork/MennoMax/patch-1 into master

Created by: MennoMax

Currently, only the first found constructor with the same arg count is being checked for matching types, ignoring other constructors that might match instead.

This commit changes that and exposes Plane(point, normal), closes https://github.com/godotengine/godot/issues/21113

Since I'm not experienced in C++, please pay attention to things that could be done better.

Merge request reports