ilqgames icon indicating copy to clipboard operation
ilqgames copied to clipboard

Handle case separately when zero

Open dfridovi opened this issue 4 years ago • 0 comments

https://github.com/HJReachability/ilqgames/blob/9d14d1bbbf36d4f107f84689e9faa326f4877a7b/src/line_segment2.cpp#L63

Cross product can be 0.0, which yields sgn(0) = 0.

dfridovi avatar Nov 09 '20 23:11 dfridovi