mirror of
https://github.com/godotengine/godot.git
synced 2026-02-07 19:32:36 +00:00
Allow multiplying Transforms and Basis by numbers
This commit is contained in:
@@ -107,6 +107,8 @@ struct Transform2D {
|
||||
|
||||
void operator*=(const Transform2D &p_transform);
|
||||
Transform2D operator*(const Transform2D &p_transform) const;
|
||||
void operator*=(const real_t p_val);
|
||||
Transform2D operator*(const real_t p_val) const;
|
||||
|
||||
Transform2D interpolate_with(const Transform2D &p_transform, real_t p_c) const;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user