]> de.git.xonotic.org Git - xonotic/netradiant.git/blobdiff - contrib/bobtoolz/DPoint.cpp
reformat code! now the code is only ugly on the *inside*
[xonotic/netradiant.git] / contrib / bobtoolz / DPoint.cpp
index 58628e62c8fd78a53dda29e8c62aa5062dc88481..4eb8fca92d8feec0bc2fa88cce2ea42597ac00da 100644 (file)
 // Construction/Destruction
 //////////////////////////////////////////////////////////////////////
 
-DPoint::DPoint(){
+DPoint::DPoint()
+{
 
 }
 
-DPoint::~DPoint(){
+DPoint::~DPoint()
+{
 
 }
 
@@ -40,11 +42,12 @@ 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;
 }