| 561 | /// \related FlatPoint2D |
| 562 | |
| 563 | inline Point2D Unitize(const FlatPoint2D& p) |
| 564 | { |
| 565 | float n = 1.0F / p.z; |
| 566 | return (Point2D(p.x * n, p.y * n)); |
| 567 | } |
| 568 | |
| 569 | /// \brief Calculates the unitized equivalent of a 2D line. |
| 570 | /// |
nothing calls this directly
no test coverage detected