Lysa  0.0
Lysa 3D Engine
Frustum::Plane Struct Reference

Detailed Description

Single clipping plane of the frustum.

Public Member Functions

void normalize ()
 

Public Attributes

float4 data
 

Member Function Documentation

void normalize ( )

Normalizes the plane so that the normal has unit length and the distance term is scaled accordingly.

Member Data Documentation

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.