/[gzz]/gzz/gfx/libutil/Irregu.hxx
ViewVC logotype

Diff of /gzz/gfx/libutil/Irregu.hxx

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

revision 1.12 by jvk, Thu Nov 14 13:30:23 2002 UTC revision 1.13 by jvk, Fri Nov 15 09:14:53 2002 UTC
# Line 73  namespace Irregu { Line 73  namespace Irregu {
73          return fabs(c.x * (b.y - a.y) + b.x * (a.y - c.y) + a.x * (c.y - b.y));          return fabs(c.x * (b.y - a.y) + b.x * (a.y - c.y) + a.x * (c.y - b.y));
74      }      }
75    
76      /** Draws an irregular edge      /** Draws an irregular edge.
77         * The edge specified in paper coordinates.
78         *
79       * @param coords     vertex->screen transformation       * @param coords     vertex->screen transformation
80       * @param pt         vertices of the edge       * @param pt         vertices of the edge
81       * @param norm       normals at each vertex       * @param norm       normals at each vertex
82       * @param texscale   vertex to texcoords scaling (divides texcoords)       * @param texscale   vertex to texcoords scaling (divides texcoords)
83       * @param linewidth  width of border line in pixels       * @param linewidth  width of border line in pixels at refsize zoom
84       *                   (actually in units of the coords mapping destination)       *                   (actually in units of the coords mapping destination)
85       * @param refsize    the coords2 zoom factor where linewidth is in effect       * @param refsize    the coords zoom factor where linewidth is defined
86       * @param scale_pow  linewidth scaling exponent: e.g.,       * @param scale_pow  linewidth scaling exponent: e.g.,
87       *                   0 constant, 1 linear, 1/2 sqrt       *                   0 constant, 1 linear, 1/2 sqrt
88       * @param border0    quad inner edge displacement in units of norm       * @param border0    quad inner edge displacement in units of norm
89       * @param border1    quad outer edge displacement in units of norm       * @param border1    quad outer edge displacement in units of norm
90       * @param texslicing a border0 and border1 factor for texcoords       * @param texslicing border0 and border1 factor for texcoords
91         *                   0: 1D texture slice, 1: direct sprinkled
92       * @param c0         constant vector; currently specifies       * @param c0         constant vector; currently specifies
93       *                   inner and outer color 4+4 floats       *                   inner and outer color 4+4 floats
94       * @param c1         second constant vecotr; used for secondary       * @param c1         second constant vecotr; used for secondary

Legend:
Removed from v.1.12  
changed lines
  Added in v.1.13

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