diff options
Diffstat (limited to 'dep/src/g3dlite/Plane.cpp')
-rw-r--r-- | dep/src/g3dlite/Plane.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/dep/src/g3dlite/Plane.cpp b/dep/src/g3dlite/Plane.cpp index c958a10a710..5265ef8f670 100644 --- a/dep/src/g3dlite/Plane.cpp +++ b/dep/src/g3dlite/Plane.cpp @@ -1,8 +1,8 @@ /** @file Plane.cpp - + @maintainer Morgan McGuire, matrix@graphics3d.com - + @created 2003-02-06 @edited 2006-01-29 */ @@ -20,14 +20,14 @@ Plane::Plane( Vector4 point2) { debugAssertM( - point0.w != 0 || - point1.w != 0 || + point0.w != 0 || + point1.w != 0 || point2.w != 0, "At least one point must be finite."); // Rotate the points around so that the finite points come first. - while ((point0.w == 0) && + while ((point0.w == 0) && ((point1.w == 0) || (point2.w != 0))) { Vector4 temp = point0; point0 = point1; |