nicer ray parameter functions

Issue #9 resolved
Daniel K. O. created an issue

Adds the following functions:

void dGeomRaySetFirstContact (dGeomID g, int firstContact);
int dGeomRayGetFirstContact (dGeomID g);
void dGeomRaySetBackfaceCull (dGeomID g, int backfaceCull);
int dGeomRayGetBackfaceCull (dGeomID g);

...for consistency and cleaner API. The following should be depreciated (and preferably removed later):

void dGeomRaySetParams (dGeomID g, int FirstContact, int BackfaceCull);
void dGeomRayGetParams (dGeomID g, int *FirstContact, int *BackfaceCull);

No significant changes to internal code.

(submitted by Martijn Buijs)

Comments (2)

  1. Former user Account Deleted

    Took 5 years...but nice!

    I really appreciate what you're doing Daniel, nice to see things moving forward again!

  2. Log in to comment