| 860 | /// \related FlatPoint3D |
| 861 | |
| 862 | inline Point3D Unitize(const FlatPoint3D& p) |
| 863 | { |
| 864 | float n = 1.0F / p.w; |
| 865 | return (Point3D(p.x * n, p.y * n, p.z * n)); |
| 866 | } |
| 867 | |
| 868 | /// \brief Calculates the unitized equivalent of a 3D line. |
| 869 | /// |
nothing calls this directly
no test coverage detected