rename translate(d) to translate(d)_local in Transform 2D/3D
This commit is contained in:
@ -74,8 +74,8 @@ struct _NO_DISCARD_ Transform2D {
|
||||
|
||||
void scale(const Size2 &p_scale);
|
||||
void scale_basis(const Size2 &p_scale);
|
||||
void translate(const real_t p_tx, const real_t p_ty);
|
||||
void translate(const Vector2 &p_translation);
|
||||
void translate_local(const real_t p_tx, const real_t p_ty);
|
||||
void translate_local(const Vector2 &p_translation);
|
||||
|
||||
real_t basis_determinant() const;
|
||||
|
||||
@ -87,7 +87,7 @@ struct _NO_DISCARD_ Transform2D {
|
||||
|
||||
Transform2D scaled(const Size2 &p_scale) const;
|
||||
Transform2D basis_scaled(const Size2 &p_scale) const;
|
||||
Transform2D translated(const Vector2 &p_offset) const;
|
||||
Transform2D translated_local(const Vector2 &p_offset) const;
|
||||
Transform2D rotated(const real_t p_angle) const;
|
||||
|
||||
Transform2D untranslated() const;
|
||||
|
||||
Reference in New Issue
Block a user