diff options
author | megamage <none@none> | 2009-02-12 17:09:15 -0600 |
---|---|---|
committer | megamage <none@none> | 2009-02-12 17:09:15 -0600 |
commit | 6aee5fcbe7473a3cbac12b7e8482a7b98bef8be3 (patch) | |
tree | 91ec91d5c19eba9c2fe0e84b1c9dc7047a3de80e /dep/src/g3dlite/Plane.cpp | |
parent | 2d2f433b4de1c35b22aaf07854fc0ee11fcb350d (diff) | |
parent | f385747164c3fb278c92ef46fbd6c3da6590bbf0 (diff) |
*Merge.
--HG--
branch : trunk
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; |