X-Git-Url: http://git.xonotic.org/?p=xonotic%2Fnetradiant.git;a=blobdiff_plain;f=contrib%2Fbobtoolz%2FDPoint.cpp;h=4eb8fca92d8feec0bc2fa88cce2ea42597ac00da;hp=58628e62c8fd78a53dda29e8c62aa5062dc88481;hb=9dfae1c9b270ee369c6362903a9205b30751b95f;hpb=0a6d5683b0cfa1a0bd7ef64bada105dbe4ddd6e1 diff --git a/contrib/bobtoolz/DPoint.cpp b/contrib/bobtoolz/DPoint.cpp index 58628e62..4eb8fca9 100644 --- a/contrib/bobtoolz/DPoint.cpp +++ b/contrib/bobtoolz/DPoint.cpp @@ -28,11 +28,13 @@ // 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; }