diff options
author | Jörg Frings-Fürst <debian@jff-webhosting.net> | 2015-05-01 16:13:57 +0200 |
---|---|---|
committer | Jörg Frings-Fürst <debian@jff-webhosting.net> | 2015-05-01 16:13:57 +0200 |
commit | 094535c010320967639e8e86f974d878e80baa72 (patch) | |
tree | efc3094b20355dcbeebb2c4ece4fcfc69bffedb5 /gamut/gamut.h | |
parent | c07d0c2d2f6f7b0eb6e92cc6204bf05037957e82 (diff) |
Imported Upstream version 1.7.0upstream/1.7.0
Diffstat (limited to 'gamut/gamut.h')
-rw-r--r-- | gamut/gamut.h | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/gamut/gamut.h b/gamut/gamut.h index 8f4645c..467852f 100644 --- a/gamut/gamut.h +++ b/gamut/gamut.h @@ -344,8 +344,9 @@ struct _gamut { int (*vector_isect)(struct _gamut *s, double *p1, double *p2, double *min, double *max, double *mint, double *maxt, gtri **mntri, gtri **mxtri); - /* Compute the intersection of the vector p1->p2 with */ - /* the gamut surface. min is the intersection in the p1 direction, */ + /* Compute the intersection of the (extended to infinity) vector */ + /* p1->p2 with the gamut surface. */ + /* min is the intersection in the p1 direction, */ /* max is intersection in the p2 direction. mint and maxt are */ /* the parameter values at the two intersection points, a value of 0 */ /* being at p1 and 1 being at p2. mintri and maxtri return the */ @@ -384,11 +385,11 @@ struct _gamut { /* Following return nz on error: */ int (*write_vrml)(struct _gamut *s, char *filename, - int doaxes, int docusps); /* Write to a VRML .wrl file */ + int doaxes, int docusps); /* Write to a VRML .wrl/.x3d file */ int (*write_gam)(struct _gamut *s, char *filename); /* Write to a CGATS .gam file */ int (*read_gam)(struct _gamut *s, char *filename); /* Read from a CGATS .gam file */ - int (*write_trans_vrml)(struct _gamut *s, char *filename, /* Write transformed VRML .wrl */ + int (*write_trans_vrml)(struct _gamut *s, char *filename, /* Write transformed VRML/X3D .wrl */ int doaxes, int docusps, void (*transform)(void *cntx, double out[3], double in[3]), /* with xform */ void *cntx); |