Add a comment on cute_c2 extension
parent
98c8b24a20
commit
ddff7ed265
|
@ -1,4 +1,14 @@
|
|||
#include "cute_c2.h"
|
||||
/**
|
||||
* Current version of C2 has no calculation for contact point and normal
|
||||
* for TOI calculation.
|
||||
* However, a discussion by Tyler Glaiel:
|
||||
* https://github.com/RandyGaul/cute_headers/issues/155
|
||||
*
|
||||
* resulted in specfic functions to do so.
|
||||
* These are shamelessly copied over with almost no modification.
|
||||
* Thank you, Tyler!
|
||||
*/
|
||||
double PointToSegmentTOI(c2v p, c2v v, c2v a, c2v b);
|
||||
|
||||
double PointToCircleTOI(c2v p, c2v v, c2v circ_p, double r);
|
||||
|
|
Loading…
Reference in New Issue