Created class DistanceSwitch and added length() in double precision to PowerScaledCoordinate

This commit is contained in:
Erik Broberg
2016-03-30 19:34:42 -04:00
parent 333e7886db
commit 9d45463e93
10 changed files with 187 additions and 9 deletions

View File

@@ -55,6 +55,7 @@ public:
static Renderable* createFromDictionary(const ghoul::Dictionary& dictionary);
// constructors & destructor
Renderable();
Renderable(const ghoul::Dictionary& dictionary);
virtual ~Renderable();

View File

@@ -44,6 +44,7 @@ public:
const glm::vec2& vec2() const;
float lengthf() const;
double lengthd() const;
// operator overloading
PowerScaledScalar& operator=(const PowerScaledScalar& rhs);