Method | Description | |
---|---|---|
CalculateFrustum ( OpenTK ProjMatrix, OpenTK ModelMatrix ) : void | ||
ObjectInFrustum ( System.Vector3 position, |
||
ObjectInFrustum ( float x, float y, float z, |
||
PointInFrustum ( float x, float y, float z ) : bool |
tasojen normaalit osoittaa sisäänpäin joten jos testattava vertex on kaikkien tasojen "edessä", se on ruudulla ja rendataan
|
|
SphereInFrustum ( float x, float y, float z, float radius ) : float |
palauttaa etäisyyden kameraan jos pallo frustumissa, muuten 0.
|
Method | Description | |
---|---|---|
NormalizePlane ( float frustum, int side ) : void |
public static CalculateFrustum ( OpenTK ProjMatrix, OpenTK ModelMatrix ) : void | ||
ProjMatrix | OpenTK | |
ModelMatrix | OpenTK | |
return | void |
public static ObjectInFrustum ( System.Vector3 position, |
||
position | System.Vector3 | |
bound | ||
return | bool |
public static ObjectInFrustum ( float x, float y, float z, |
||
x | float | |
y | float | |
z | float | |
bound | ||
return | bool |
public static PointInFrustum ( float x, float y, float z ) : bool | ||
x | float | |
y | float | |
z | float | |
return | bool |
public static SphereInFrustum ( float x, float y, float z, float radius ) : float | ||
x | float | |
y | float | |
z | float | |
radius | float | |
return | float |