Bugs

  • Member Line::ClosestPoint (const Ray &other, float *d=0, float *d2=0) const : Properly cap d2.
  • Member Line::ClosestPoint (const LineSegment &other, float *d=0, float *d2=0) const : Properly cap d2.
  • Member OBB::Scale (const float3 &centerPoint, const float3 &scaleFactor): This scales in global axes, not local axes.
  • Member Plane::Intersects (const Plane &plane, const Plane &plane2, Line *outLine=0, float3 *outPoint=0) const : This function never outputs outLine.
  • Member Polygon::Centroid () const : This function does not properly compute the centroid.
  • Member Polyhedron::Centroid () const : This is not the proper centroid of the polyhedron!
  • Member Ray::ClosestPoint (const LineSegment &other, float *d=0, float *d2=0) const : Properly cap d2.
  • Member Ray::ClosestPoint (const Ray &other, float *d=0, float *d2=0) const : Properly cap d2.