diff options
author | Marc Gilleron <marc.gilleron@gmail.com> | 2018-01-23 00:24:23 +0100 |
---|---|---|
committer | Marc Gilleron <marc.gilleron@gmail.com> | 2018-01-23 00:24:23 +0100 |
commit | 4f4bb8deff008861ced55b14fcd8b8f4d3a697e8 (patch) | |
tree | b2d25347fc48d250bff5e6d011159cbcd918b63f /src/core/Vector2.cpp | |
parent | 411d2f6d1fddbaa0b779ae5f5aa93e0175f8112c (diff) | |
download | redot-cpp-4f4bb8deff008861ced55b14fcd8b8f4d3a697e8.tar.gz |
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
Diffstat (limited to 'src/core/Vector2.cpp')
-rw-r--r-- | src/core/Vector2.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/Vector2.cpp b/src/core/Vector2.cpp index 7dc78b6..ecb7378 100644 --- a/src/core/Vector2.cpp +++ b/src/core/Vector2.cpp @@ -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); } |