diff options
Diffstat (limited to 'include/godot_cpp/core/Transform.hpp')
-rw-r--r-- | include/godot_cpp/core/Transform.hpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/include/godot_cpp/core/Transform.hpp b/include/godot_cpp/core/Transform.hpp index 74b2ef0..f6f5143 100644 --- a/include/godot_cpp/core/Transform.hpp +++ b/include/godot_cpp/core/Transform.hpp @@ -77,6 +77,10 @@ public: operator String() const; + inline Transform(real_t xx, real_t xy, real_t xz, real_t yx, real_t yy, real_t yz, real_t zx, real_t zy, real_t zz,real_t tx, real_t ty, real_t tz) { + set(xx, xy, xz, yx, yy, yz, zx, zy, zz,tx, ty, tz); + } + Transform(const Basis& p_basis, const Vector3& p_origin=Vector3()); inline Transform() {} |