LFrustumd

from panda3d.core import LFrustumd
class LFrustumd

Bases:

Inheritance diagram

Inheritance diagram of LFrustumd

__init__()
__init__(param0: LFrustumd)
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)