Parent Directory | Revision Log | Patch
revision 1.22 by jvk, Thu Sep 12 14:52:27 2002 UTC | revision 1.23 by jvk, Thu Sep 12 15:53:12 2002 UTC | |
---|---|---|
# | Line 492 rs = [ | Line 492 rs = [ |
492 | ||
493 | // Modulate distance from coords2 origin | // Modulate distance from coords2 origin |
494 | float t = (1 + a * a + b * b); | float t = (1 + a * a + b * b); |
495 | float m = 1 + c / (t * t); | float m = 1 + c / t; |
496 | ||
497 | coords2.vertex(ZPt(m*a, m*b, c)); | coords2.vertex(ZPt(m*a, m*b, c)); |
498 | } | } |
|
savannah-hackers-public@gnu.org | ViewVC Help |
Powered by ViewVC 1.1.26 |