Panda3D
Public Member Functions | List of all members
LFrustumd Class Reference

Public Member Functions

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

Member Function Documentation

◆ __init__() [1/2]

__init__ ( )

◆ __init__() [2/2]

__init__ ( const  LFrustumd)

◆ makeOrtho() [1/2]

makeOrtho ( double  fnear,
double  ffar 
)

Behaves like gluOrtho.

◆ makeOrtho() [2/2]

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

Behaves like gluOrtho.

◆ makeOrtho2D() [1/2]

makeOrtho2D ( )

Sets up a two-dimensional orthographic frustum.

◆ makeOrtho2D() [2/2]

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

Sets up a two-dimensional orthographic frustum.

◆ makePerspective()

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

◆ makePerspectiveHfov()

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

Behaves like gluPerspective (Aspect = width/height, Yfov in degrees) aspect +---------—+ | | 1 | | yfov | | +---------—+.

----—+---— \ | \ | \ | \ | \ | | W yfov

◆ makePerspectiveVfov()

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