# Frustumf

from pandac.PandaModules import Frustumf

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:

Frustumf:

## Methods of Frustumf:

getPerspectiveParams
makeOrtho
makeOrtho2D
makePerspective
makePerspectiveHfov
makePerspectiveVfov

getPerspectiveParams void Frustumf::get_perspective_params(float &yfov, float &aspect, float &fnear, float &ffar) const; Description:

makeOrtho void Frustumf::make_ortho(float fnear, float ffar); Description: Behaves like gluOrtho

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

makePerspective void Frustumf::make_perspective(float xfov, float yfov, float fnear, float ffar); Undocumented function.

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

makePerspectiveVfov void Frustumf::make_perspective_vfov(float yfov, float aspect, float fnear, float ffar); Undocumented function.