Panda3D

Loading...
Searching...
No Matches
perspectiveLens.I
Go to the documentation of this file.
1/**
2 * PANDA 3D SOFTWARE
3 * Copyright (c) Carnegie Mellon University. All rights reserved.
4 *
5 * All use of this software is subject to the terms of the revised BSD
6 * license. You should have received a copy of this license along
7 * with this source code in a file named "LICENSE."
8 *
9 * @file perspectiveLens.I
10 * @author drose
11 * @date 1999-02-18
12 */
13
14/**
15 *
16 */
17INLINE PerspectiveLens::
18PerspectiveLens() {
19}
20
21/**
22 *
23 */
24INLINE PerspectiveLens::
25PerspectiveLens(PN_stdfloat hfov, PN_stdfloat vfov) {
26 Lens::CDWriter lens_cdata(Lens::_cycler, true);
27 lens_cdata->_fov.set(hfov, vfov);
28}
29
30/**
31 *
32 */
33INLINE PerspectiveLens::
34PerspectiveLens(const PerspectiveLens &copy) : Lens(copy) {
35}
36
37/**
38 *
39 */
40INLINE void PerspectiveLens::
41operator = (const PerspectiveLens &copy) {
42 Lens::operator = (copy);
43}
Lens
A base class for any number of different kinds of lenses, linear and otherwise.
Definition lens.h:41
PerspectiveLens
A perspective-type lens: a normal camera.
Definition perspectiveLens.h:25