Determines if two points are close enough together to be considered the same Parameters: v0,v1 - the two points Returns: true if the points are the same or very close; else false
| 1353 | // Parameters: v0,v1 - the two points |
| 1354 | // Returns: true if the points are the same or very close; else false |
| 1355 | bool PointsAreSame(vector *v0, vector *v1) { |
| 1356 | float d = vm_VectorDistance(v0, v1); |
| 1357 | |
| 1358 | return (d < POINT_TO_POINT_EPSILON); |
| 1359 | } |
| 1360 | |
| 1361 | // Check to see if a point is in, in front of, or behind a plane |
| 1362 | // Parameters: checkpoint - the point to check |
no test coverage detected