orb.math package¶
A package for math-related modules.
- orb.math.closest_point_on_line(p1: Vector, p2: Vector, p3: Vector) Vector ¶
p1 and p2 are 2 points that form a line. p3 is an arbitrary point. This function returns the closest point, on the line, to p3.