/[gzz]/gzz/gfx/libfillet/Fillet.cxx
ViewVC logotype

Diff of /gzz/gfx/libfillet/Fillet.cxx

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

revision 1.2 by tjl, Tue Oct 22 17:03:45 2002 UTC revision 1.3 by tjl, Wed Oct 23 06:13:04 2002 UTC
# Line 53  namespace Fillet { Line 53  namespace Fillet {
53          // Blending functions          // Blending functions
54          float b = 1 - sqrt(sqrt(1-(1-t)*(1-t)*(1-t)*(1-t))); // distance          float b = 1 - sqrt(sqrt(1-(1-t)*(1-t)*(1-t)*(1-t))); // distance
55          // float b = 1 - sqrt(1-(1-t)*(1-t)); // distance          // float b = 1 - sqrt(1-(1-t)*(1-t)); // distance
56            
57            if(flags & 1)
58                b *= (fabs(y) / (fabs(x) + fabs(y))); // multiply by angle.
59          float c = 1 - t * t * (3 - 2 * t * t); // direction          float c = 1 - t * t * (3 - 2 * t * t); // direction
60    
61    

Legend:
Removed from v.1.2  
changed lines
  Added in v.1.3

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