diff options
Diffstat (limited to 'dep/src/g3dlite/Plane.cpp')
-rw-r--r-- | dep/src/g3dlite/Plane.cpp | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/dep/src/g3dlite/Plane.cpp b/dep/src/g3dlite/Plane.cpp index 10ee7ff0f0c..5ae60b0f762 100644 --- a/dep/src/g3dlite/Plane.cpp +++ b/dep/src/g3dlite/Plane.cpp @@ -60,7 +60,6 @@ Plane::Plane( _distance = _normal.dot(point0.xyz()); } - Plane::Plane( const Vector3& point0, const Vector3& point1, @@ -70,7 +69,6 @@ Plane::Plane( _distance = _normal.dot(point0); } - Plane::Plane( const Vector3& __normal, const Vector3& point) { @@ -79,7 +77,6 @@ Plane::Plane( _distance = _normal.dot(point); } - Plane Plane::fromEquation(float a, float b, float c, float d) { Vector3 n(a, b, c); float magnitude = n.magnitude(); @@ -88,13 +85,11 @@ Plane Plane::fromEquation(float a, float b, float c, float d) { return Plane(n, -d); } - void Plane::flip() { _normal = -_normal; _distance = -_distance; } - void Plane::getEquation(Vector3& n, float& d) const { double _d; getEquation(n, _d); @@ -106,7 +101,6 @@ void Plane::getEquation(Vector3& n, double& d) const { d = -_distance; } - void Plane::getEquation(float& a, float& b, float& c, float& d) const { double _a, _b, _c, _d; getEquation(_a, _b, _c, _d); @@ -123,7 +117,6 @@ void Plane::getEquation(double& a, double& b, double& c, double& d) const { d = -_distance; } - std::string Plane::toString() const { return format("Plane(%g, %g, %g, %g)", _normal.x, _normal.y, _normal.z, _distance); } |