Frustumd

Inheritance:

Methods of Frustumd:

Frustumd
Frustumd::Frustumd(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 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.