mirror of
https://github.com/godotengine/godot-cpp.git
synced 2026-01-08 18:10:02 +03:00
String and math fixes
- Added missing static String constructors - Implemented String operator for math types - Added XYZ and YXZ euler angles methods - Fixed wrong det checks in Basis - Fixed operator Quat in Basis
This commit is contained in:
@@ -252,7 +252,7 @@ Vector2 Vector2::snapped(const Vector2& p_by) const
|
||||
|
||||
Vector2::operator String() const
|
||||
{
|
||||
return String(); /* @Todo String::num() */
|
||||
return String::num(x) + ", " + String::num(y);
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user