Wraps a nkGraphics::Frustum and offers functions for use in scripting.
More...
Wraps a nkGraphics::Frustum and offers functions for use in scripting.
◆ updateEnvironment()
Updates a given environment and set it up to use all functions wrapped by this wrapper.
- Parameters
-
env | The environment to set up. |
◆ copy()
Utility function to copy a frustum to another.
- Parameters
-
stack | The parameter stack. |
- Returns
- The output value, as a nkGraphics::Frustum.
◆ getPlane()
Wrapper function for nkGraphics::Frustum::getPlane().
local c = f:getPlane(0) ;
- Parameters
-
stack | The parameter stack. |
- Returns
- The output value, as a nkGraphics::Vector.
◆ eq()
Overrides the default equality operation for the user type.
local v = p == t ;
- Parameters
-
stack | The parameter stack. |
- Returns
- The output value, as a bool.
The documentation for this class was generated from the following file:
- Documentation/Headers/NilkinsAstraeus/Scripts/nkGraphicsWrap/Cameras/FrustumWrapper.h