You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-22 15:06:45 +00:00
[Core] Transform2D add set_scale and fix set_rotation
Note: These are still not exposed to GDScript
This commit is contained in:
@@ -81,6 +81,7 @@ struct Transform2D {
|
||||
real_t basis_determinant() const;
|
||||
|
||||
Size2 get_scale() const;
|
||||
void set_scale(Size2 &p_scale);
|
||||
|
||||
_FORCE_INLINE_ const Vector2 &get_origin() const { return elements[2]; }
|
||||
_FORCE_INLINE_ void set_origin(const Vector2 &p_origin) { elements[2] = p_origin; }
|
||||
|
||||
Reference in New Issue
Block a user