Permalink
Browse files

javadoc update and minor cleanup

  • Loading branch information...
tzaeschke committed Jan 21, 2019
1 parent 911f07c commit a08c3c8b5558a67a823f8ee36023b752d8ae8cc1
@@ -72,8 +72,20 @@
*/
boolean getFirstContact();
void setFirstContact(boolean firstContact);
/**
* Set/get ray flags that influence ray collision detection.
* These flags are currently only noticed by the trimesh collider, because
* they can make a major differences there.
* @return backface cull setting
*/
boolean getBackfaceCull();
void setBackfaceCull(boolean backfaceCull);
/**
* Set/get ray flags that influence ray collision detection.
* These flags are currently only noticed by the trimesh collider, because
* they can make a major differences there.
* @return closest hit setting
*/
void setClosestHit (boolean closestHit);
boolean getClosestHit();

@@ -252,8 +252,9 @@ void dGeomRaySetClosestHit (boolean closestHit)
//dUASSERT (g!=null && g.type == dRayClass,"argument not a ray");
if (closestHit){
setFlagCustom(RAY_CLOSEST_HIT);//_gflags |= RAY_CLOSEST_HIT;
} else {
unsetFlagCustom(RAY_CLOSEST_HIT);//_gflags &= ~RAY_CLOSEST_HIT;
}
else unsetFlagCustom(RAY_CLOSEST_HIT);//_gflags &= ~RAY_CLOSEST_HIT;
}


0 comments on commit a08c3c8

Please sign in to comment.