/[gzz]/gzz/gfx/libcoords/Coords.cxx
ViewVC logotype

Diff of /gzz/gfx/libcoords/Coords.cxx

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.18 by tjl, Mon Sep 30 22:20:28 2002 UTC revision 1.19 by tjl, Tue Oct 1 06:22:54 2002 UTC
# Line 156  namespace Coords { Line 156  namespace Coords {
156              ZVec para = v - same*vec;              ZVec para = v - same*vec;
157              float  paral = para.length();              float  paral = para.length();
158              para = (1/paral)*para;              para = (1/paral)*para;
159              ZVec ortho = para.crossp(v).normalized();              ZVec ortho = para.crossp(vec).normalized();
160              to = ZPt( same * vec + paral * (c * para - s * ortho) );              to = ZPt( same * vec + paral * (c * para - s * ortho) );
161          }          }
162          virtual ZPt transform(const ZPt &p) const {          virtual ZPt transform(const ZPt &p) const {

Legend:
Removed from v.1.18  
changed lines
  Added in v.1.19

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26