mirror of
https://github.com/godotengine/godot.git
synced 2026-01-03 18:11:19 +03:00
Core: Move Rect2i to its own rect2i.h header
And take the opportunity to improve interdependencies a bit with forward declares where possible.
This commit is contained in:
@@ -30,6 +30,8 @@
|
||||
|
||||
#include "transform_2d.h"
|
||||
|
||||
#include "core/string/ustring.h"
|
||||
|
||||
void Transform2D::invert() {
|
||||
// FIXME: this function assumes the basis is a rotation matrix, with no scaling.
|
||||
// Transform2D::affine_inverse can handle matrices with scaling, so GDScript should eventually use that.
|
||||
|
||||
Reference in New Issue
Block a user