Subversion Repository Public Repository

Divide-Framework

This repository has no backups
This repository's network speed is throttled to 100KB/sec

Diff Revisions 279 vs 280 for /trunk/Source Code/Core/Math/Headers/Plane.h

Diff revisions: vs.
  @@ -49,18 +49,18 @@
49 49 NEGATIVE_SIDE
50 50 };
51 51
52 - Plane() : _distance(0), _active(true), _index(0) {}
53 - Plane(const Plane& rhs) : _normal(rhs._normal), _distance(rhs._distance), _active(true), _index(rhs._index) {}
52 + Plane() : _distance(0), _active(false), _index(0) {}
53 + Plane(const Plane& rhs) : _normal(rhs._normal), _distance(rhs._distance), _active(rhs._active), _index(rhs._index) {}
54 54 ///distance is stored as the negative of the specified value
55 - Plane(const vec3<T>& normal, T distance) : _normal(normal), _distance(distance), _active(true), _index(0) {}
55 + Plane(const vec3<T>& normal, T distance) : _normal(normal), _distance(distance), _active(false), _index(0) {}
56 56 ///distance is stored as the negative of the specified value
57 57 Plane(T a, T b, T c, T distance) : Plane(vec3<T>(a,b,c), distance) {}
58 58 Plane(const vec4<T>& plane) : Plane(plane.xyz(), plane.w) {}
59 - Plane(const vec3<T>& normal, const vec3<T>& point) : _active(true), _index(0)
59 + Plane(const vec3<T>& normal, const vec3<T>& point) : _active(false), _index(0)
60 60 {
61 61 redefine(normal, point);
62 62 }
63 - Plane(const vec3<T>& point0, const vec3<T>& point1, const vec3<T>& point2) : _active(true), _index(0)
63 + Plane(const vec3<T>& point0, const vec3<T>& point1, const vec3<T>& point2) : _active(false), _index(0)
64 64 {
65 65 redefine(point0, point1, point2);
66 66 }