| 355 | } |
| 356 | |
| 357 | inline Coord Intersect(Vector3Par in, Vector3Par out, Vector3Par normal, Coord d) |
| 358 | { |
| 359 | Vector3 AmB = in - out; |
| 360 | return (in * normal + d) / (AmB * normal); |
| 361 | } |
| 362 | |
| 363 | bool PolyVertices::Clip(TLVertexTable& mesh, PolyVertices& res, Vector3Par normal, Coord d, ClipFlags test, |
| 364 | const Camera& camera) |
no outgoing calls
no test coverage detected