Back to class index
| Line::AreCollinearSyntaxbool Line::AreCollinear(const float4 &p1, const float4 &p2, const float4 &p3, float epsilon=1e-3f); [4 lines of code]Tests if the given three points are collinear. This function tests whether the given three functions all lie on the same line. ParametersfloatepsilonThe comparison threshold to use to account for floating-point inaccuracies. |