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/Vector3.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/Vector3.cpp')
| -rw-r--r-- | src/core/Vector3.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/Vector3.cpp b/src/core/Vector3.cpp index 7e0f2ee..a22bdc0 100644 --- a/src/core/Vector3.cpp +++ b/src/core/Vector3.cpp @@ -327,7 +327,7 @@ Vector3 Vector3::snapped(const float by) Vector3::operator String() const { - return String(); // @Todo + return String::num(x) + ", " + String::num(y) + ", " + String::num(z); } |
