Math/Angle: Add FromDegrees and FromRadians builders

This commit is contained in:
Lynix
2018-10-10 22:59:57 +02:00
parent 56922001ba
commit 9cc83aafda
5 changed files with 31 additions and 5 deletions

View File

@@ -68,6 +68,8 @@ namespace Nz
bool operator==(const Angle& other) const;
bool operator!=(const Angle& other) const;
static Angle FromDegrees(T ang);
static Angle FromRadians(T ang);
static Angle Zero();
T angle;