Panda3D
Loading...
Searching...
No Matches
Public Member Functions | List of all members
LFrustumf Class Reference

#include <pandadoc.hpp>

Public Member Functions

 __init__ ()
 
 __init__ (const LFrustumf)
 
 makeOrtho (float fnear, float ffar)
 Behaves like gluOrtho.
 
 makeOrtho (float fnear, float ffar, float l, float r, float t, float b)
 Behaves like gluOrtho.
 
 makeOrtho2D ()
 Sets up a two-dimensional orthographic frustum.
 
 makeOrtho2D (float l, float r, float t, float b)
 Sets up a two-dimensional orthographic frustum.
 
 makePerspective (float xfov, float yfov, float fnear, float ffar)
 
 makePerspectiveHfov (float xfov, float aspect, float fnear, float ffar)
 Behaves like gluPerspective (Aspect = width/height, Yfov in degrees)
 
 makePerspectiveVfov (float yfov, float aspect, float fnear, float ffar)
 

Member Function Documentation

◆ __init__() [1/2]

__init__ ( )

◆ __init__() [2/2]

__init__ ( const LFrustumf )

◆ makeOrtho() [1/2]

makeOrtho ( float fnear,
float ffar )

Behaves like gluOrtho.

◆ makeOrtho() [2/2]

makeOrtho ( float fnear,
float ffar,
float l,
float r,
float t,
float b )

Behaves like gluOrtho.

◆ makeOrtho2D() [1/2]

makeOrtho2D ( )

Sets up a two-dimensional orthographic frustum.

◆ makeOrtho2D() [2/2]

makeOrtho2D ( float l,
float r,
float t,
float b )

Sets up a two-dimensional orthographic frustum.

◆ makePerspective()

makePerspective ( float xfov,
float yfov,
float fnear,
float ffar )

◆ makePerspectiveHfov()

makePerspectiveHfov ( float xfov,
float aspect,
float fnear,
float ffar )

Behaves like gluPerspective (Aspect = width/height, Yfov in degrees)

◆ makePerspectiveVfov()

makePerspectiveVfov ( float yfov,
float aspect,
float fnear,
float ffar )