Wiki > TV3D65 Index > TVMathLibrary
Performs a ray-plane intersection using plane parallel with XZ plane.
| VB.NET | IntersectionXZPlane(fY As Single , vPointAbove As TV_3DVECTOR , vPointBelow As TV_3DVECTOR) As TV_3DVECTOR |
|---|---|
| C++ | cTV_3DVECTOR IntersectionXZPlane(float fY , cTV_3DVECTOR vPointAbove , cTV_3DVECTOR vPointBelow) |
| NAME | OPTIONAL | DESCRIPTION |
|---|---|---|
| fY | No | Plane altitude |
| vPointAbove | No | Ray starting point (above the plane) |
| vPointBelow | No | Ray end point (below the plane) |
| TV_3DVECTOR | Ray-plane intersection point. |
|---|
| Example | Basic example. |
|---|