Panda3D
Functions
lens.cxx File Reference

PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University. More...

#include "lens.h"
#include "throw_event.h"
#include "compose_matrix.h"
#include "look_at.h"
#include "geom.h"
#include "geomLinestrips.h"
#include "geomVertexWriter.h"
#include "boundingHexahedron.h"
#include "indent.h"
#include "config_gobj.h"
#include "plane.h"

Go to the source code of this file.

Functions

 PT (Geom) Lens
 Allocates and returns a new Geom that can be rendered to show a visible representation of the frustum used for this kind of lens, if it makes sense to do so. More...
 
 PT (BoundingVolume) Lens
 Allocates and returns a new BoundingVolume that encloses the frustum used for this kind of lens, if possible. More...
 

Detailed Description

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."

Author
drose
Date
1999-02-18

Definition in file lens.cxx.

Function Documentation

◆ PT() [1/2]

PT ( Geom  )

Allocates and returns a new Geom that can be rendered to show a visible representation of the frustum used for this kind of lens, if it makes sense to do so.

If a visible representation cannot be created, returns NULL.

Definition at line 567 of file lens.cxx.

◆ PT() [2/2]

PT ( BoundingVolume  )

Allocates and returns a new BoundingVolume that encloses the frustum used for this kind of lens, if possible.

If a suitable bounding volume cannot be created, returns NULL.

Definition at line 641 of file lens.cxx.