Documentation for Sphere + new Unit sphere

Former-commit-id: 8f7dd89c3669f0a791b76ef7cb89d998ce6b336a
This commit is contained in:
Gawaboumga
2015-12-30 15:34:59 +01:00
parent d733a9c5d1
commit cec0567fdd
2 changed files with 342 additions and 15 deletions

View File

@@ -46,6 +46,7 @@ namespace Nz
bool IsValid() const;
Sphere& MakeUnit();
Sphere& MakeZero();
Sphere& Set(T X, T Y, T Z, T Radius);
@@ -71,6 +72,7 @@ namespace Nz
bool operator!=(const Sphere& sphere) const;
static Sphere Lerp(const Sphere& from, const Sphere& to, T interpolation);
static Sphere Unit();
static Sphere Zero();
T x, y, z, radius;