![]() |
Lysa
0.0
Lysa 3D Engine
|
Single clipping plane of the frustum.
Public Member Functions | |
| void | normalize () |
Public Attributes | |
| float4 | data |
| void normalize | ( | ) |
Normalizes the plane so that the normal has unit length and the distance term is scaled accordingly.
| float4 data |
Packed plane equation stored as (nx, ny, nz, d) where n = (nx, ny, nz) is the plane unit normal and d is the signed distance from the origin to the plane along the normal. Points x satisfy: dot(n, x) + d = 0.