diff options
author | Karroffel <therzog@mail.de> | 2017-04-04 21:02:44 +0200 |
---|---|---|
committer | Karroffel <therzog@mail.de> | 2017-04-05 01:00:33 +0200 |
commit | 8aaef5a6a272750683328ba12d4dd84897e41fe5 (patch) | |
tree | 54b44ab074449a1b17889290b9e0fa70f627abf7 /include/godot_cpp/core/Transform.hpp | |
parent | c40a9dce513099ead82ac5830d951b3e3dc00f86 (diff) | |
download | redot-cpp-8aaef5a6a272750683328ba12d4dd84897e41fe5.tar.gz |
use pointers for objects, default arguments
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() {} |