1
0
Fork 0

include/Spectre/Math/Transform.h: Adding inverse()

This commit is contained in:
Henrik Hautakoski 2023-08-04 17:32:07 +02:00
parent d8db86e40c
commit 0f7a4bbabc
2 changed files with 22 additions and 0 deletions

View file

@ -53,6 +53,10 @@ public :
Transform& scale(Vector2f offset);
Transform& scale(float s);
// Inverse
Transform inverse();
Transform& combine(const Transform& other);
Vector2f transformPoint(float x, float y) const;