]> git.xonotic.org Git - xonotic/netradiant.git/blobdiff - contrib/bobtoolz/DPoint.cpp
Merge branch 'NateEag-master-patch-12920' into 'master'
[xonotic/netradiant.git] / contrib / bobtoolz / DPoint.cpp
index 4eb8fca92d8feec0bc2fa88cce2ea42597ac00da..58628e62c8fd78a53dda29e8c62aa5062dc88481 100644 (file)
 // Construction/Destruction
 //////////////////////////////////////////////////////////////////////
 
-DPoint::DPoint()
-{
+DPoint::DPoint(){
 
 }
 
-DPoint::~DPoint()
-{
+DPoint::~DPoint(){
 
 }
 
@@ -42,12 +40,11 @@ DPoint::~DPoint()
 // Implementation
 //////////////////////////////////////////////////////////////////////
 
-bool DPoint::operator==(vec3_t other)
-{
-    vec3_t test;
-    VectorSubtract(other, _pnt, test);
-    if (fabs(VectorLength(test)) > MAX_ROUND_ERROR) {
-        return false;
-    }
-    return true;
+bool DPoint::operator ==( vec3_t other ){
+       vec3_t test;
+       VectorSubtract( other, _pnt, test );
+       if ( fabs( VectorLength( test ) ) > MAX_ROUND_ERROR ) {
+               return false;
+       }
+       return true;
 }