# Frustumf

from pandac.PandaModules import Frustumf

Filename: frustum_src.h Created by: mike (09Jan97)
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University. All rights reserved.
All use of this software is subject to the terms of the revised BSD license. You should have received a copy of this license along with this source code in a file named "LICENSE."
Class : Frustum
Description :

## Inheritance:

Frustumf:

## Methods of Frustumf:

Frustumf (Constructor)
getPerspectiveParams
makeOrtho
makeOrtho2D
makePerspective
makePerspectiveHfov
makePerspectiveVfov

Frustumf Frustumf::Frustumf(void); Filename: frustum_src.I Created by: mike (09Jan97) PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University. All rights reserved. All use of this software is subject to the terms of the revised BSD license. You should have received a copy of this license along with this source code in a file named "LICENSE." Description:

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.