Math/Box: Add ScaleAroundCenter

This commit is contained in:
SirLynix
2023-05-16 15:43:05 +02:00
parent a6f4e7b08d
commit 741dc6b7e8
3 changed files with 80 additions and 0 deletions

View File

@@ -64,6 +64,9 @@ namespace Nz
Box& Scale(T scalar);
Box& Scale(const Vector3<T>& vec);
Box& ScaleAroundCenter(T scalar);
Box& ScaleAroundCenter(const Vector3<T>& vec);
std::string ToString() const;
Box& Transform(const Matrix4<T>& matrix, bool applyTranslation = true);