added some methods

This commit is contained in:
2024-05-07 02:12:16 +03:00
parent 4827f80257
commit 8765f83434
3 changed files with 16 additions and 5 deletions

View File

@@ -58,7 +58,7 @@ namespace uml
{
return *reinterpret_cast<type*>(this);
}
[[nodiscard]] static Vector3 CreateVelocity(const Vector3& angles, const float length);
[[nodiscard]] static Vector3 CreateVelocity(const Vector3& angles, float length);
[[nodiscard]] float Sum() const;
[[nodiscard]] float Sum2D() const;
[[nodiscard]] Vector3 ViewAngleTo(const Vector3& other) const;