LFrustumf

from panda3d.core import LFrustumf
class LFrustumf

Bases:

Inheritance diagram

Inheritance diagram of LFrustumf

__init__()
__init__(param0: LFrustumf)
makeOrtho(fnear: float, ffar: float)

Behaves like gluOrtho

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

Behaves like gluOrtho

makeOrtho2D()

Sets up a two-dimensional orthographic frustum

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

Sets up a two-dimensional orthographic frustum

makePerspective(xfov: float, yfov: float, fnear: float, ffar: float)
makePerspectiveHfov(xfov: float, aspect: float, fnear: float, ffar: float)

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

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