# Frustumd

from pandac.PandaModules import Frustumd

Filename: frustum_src.h Created by: mike (09Jan97)
PANDA 3D SOFTWARE Copyright (c) 2001 - 2004, Disney Enterprises, Inc. All rights reserved
All use of this software is subject to the terms of the Panda 3d Software license. You should have received a copy of this license along with this source code; you will also find a current copy of the license at http://etc.cmu.edu/panda3d/docs/license/ .
To contact the maintainers of this program write to panda3d-general@lists.sourceforge.net .
Class : Frustum
Description :

## Inheritance:

Frustumd:

## Methods of Frustumd:

getPerspectiveParams
makeOrtho
makeOrtho2D
makePerspective
makePerspectiveHfov
makePerspectiveVfov

getPerspectiveParams void Frustumd::get_perspective_params(double &yfov, double &aspect, double &fnear, double &ffar) const; Description:

makeOrtho void Frustumd::make_ortho(double fnear, double ffar); Description: Behaves like gluOrtho

makeOrtho2D void Frustumd::make_ortho_2D(void); Description: Sets up a two-dimensional orthographic frustum

makePerspective void Frustumd::make_perspective(double xfov, double yfov, double fnear, double ffar); Undocumented function.

makePerspectiveHfov void Frustumd::make_perspective_hfov(double xfov, double aspect, double fnear, double ffar); Description: Behaves like gluPerspective (Aspect = width/height, Yfov in degrees) aspect +------------+ | | 1 | | yfov | | +------------+ -------+------ \ | / \ | / \ | / \ | / \ | / \|/ W yfov

makePerspectiveVfov void Frustumd::make_perspective_vfov(double yfov, double aspect, double fnear, double ffar); Undocumented function.