diff options
| author | Sam Lawrance <lawrance@FreeBSD.org> | 2005-06-22 17:02:55 +0000 |
|---|---|---|
| committer | Sam Lawrance <lawrance@FreeBSD.org> | 2005-06-22 17:02:55 +0000 |
| commit | 3492da6936b2f5f61e59f758e42da5a7d1546d39 (patch) | |
| tree | ab9b39f9a5e8661a8acbc3d93cef791913ee619c /graphics/truevision/files/patch-src-glview.cc | |
| parent | Update to 0.6.17 (diff) | |
Update to 0.5.4
PR: ports/82535
Submitted by: Ports Fury
Diffstat (limited to '')
| -rw-r--r-- | graphics/truevision/files/patch-src-glview.cc | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/graphics/truevision/files/patch-src-glview.cc b/graphics/truevision/files/patch-src-glview.cc new file mode 100644 index 000000000000..c6e79fb25a9a --- /dev/null +++ b/graphics/truevision/files/patch-src-glview.cc @@ -0,0 +1,21 @@ +--- src/glview.cc.orig Sun Jun 12 02:34:25 2005 ++++ src/glview.cc Tue Jun 21 01:06:43 2005 +@@ -676,15 +676,15 @@ + default: + break; + case TV_VIEW_TOP: +- tmp_coord += fmax(fabs(lookat->get(0)), fabs(lookat->get(2))); ++ tmp_coord += ((fabs(lookat->get(0)))>(fabs(lookat->get(2)))?(fabs(lookat->get(0))):(fabs(lookat->get(2)))); + break; + + case TV_VIEW_FRONT: +- tmp_coord += fmax(fabs(lookat->get(0)), fabs(lookat->get(1))); ++ tmp_coord += ((fabs(lookat->get(0)))>(fabs(lookat->get(1)))?(fabs(lookat->get(0))):(fabs(lookat->get(1)))); + break; + + case TV_VIEW_RIGHT: +- tmp_coord += fmax(fabs(lookat->get(1)), fabs(lookat->get(2))); ++ tmp_coord += ((fabs(lookat->get(1)))>(fabs(lookat->get(2)))?(fabs(lookat->get(1))):(fabs(lookat->get(2)))); + break; + } + |
