NURBS1.C File Reference
Go to the source code of this file.
|
Defines |
#define | DIVW(rpt, pt) |
#define | EPSILON 0.0001 |
#define | DIVPT(p, dn) { (p[0]) /= (dn); (p[1]) /= (dn); (p[2]) /= (dn); } |
#define | COPYVEC(b, a) { b[0] = a[0]; b[1] = a[1]; b[2] = a[2]; } |
#define | maxV(surf) ((surf)->numV-1L) |
#define | maxU(surf) ((surf)->numU-1L) |
#define | GETPT(i) (( dirflag ? &(n->points[crvInd][i]) : &(n->points[i][crvInd]))) |
Define Documentation
Value:
{ (pt[0]) = (rpt)->x / (rpt)->w; \
(pt[1]) = (rpt)->y / (rpt)->w; \
(pt[2]) = (rpt)->z / (rpt)->w; }
Definition at line 295 of file NURBS1.C.
#define DIVPT |
( |
p, |
|
|
dn |
|
) |
{ (p[0]) /= (dn); (p[1]) /= (dn); (p[2]) /= (dn); } |
#define COPYVEC |
( |
b, |
|
|
a |
|
) |
{ b[0] = a[0]; b[1] = a[1]; b[2] = a[2]; } |
#define maxV |
( |
surf |
|
) |
((surf)->numV-1L) |
#define maxU |
( |
surf |
|
) |
((surf)->numU-1L) |
#define GETPT |
( |
i |
|
) |
(( dirflag ? &(n->points[crvInd][i]) : &(n->points[i][crvInd]))) |