Panda3D

perspectiveLens.I

00001 // Filename: perspectiveLens.I
00002 // Created by:  drose (18Feb99)
00003 //
00004 ////////////////////////////////////////////////////////////////////
00005 //
00006 // PANDA 3D SOFTWARE
00007 // Copyright (c) Carnegie Mellon University.  All rights reserved.
00008 //
00009 // All use of this software is subject to the terms of the revised BSD
00010 // license.  You should have received a copy of this license along
00011 // with this source code in a file named "LICENSE."
00012 //
00013 ////////////////////////////////////////////////////////////////////
00014 
00015 ////////////////////////////////////////////////////////////////////
00016 //     Function: PerspectiveLens::Constructor
00017 //       Access: Public
00018 //  Description:
00019 ////////////////////////////////////////////////////////////////////
00020 INLINE PerspectiveLens::
00021 PerspectiveLens() {
00022 }
00023 
00024 ////////////////////////////////////////////////////////////////////
00025 //     Function: PerspectiveLens::Constructor
00026 //       Access: Public
00027 //  Description:
00028 ////////////////////////////////////////////////////////////////////
00029 INLINE PerspectiveLens::
00030 PerspectiveLens(float hfov, float vfov) {
00031   _fov.set(hfov, vfov);
00032 }
00033 
00034 ////////////////////////////////////////////////////////////////////
00035 //     Function: PerspectiveLens::Copy Constructor
00036 //       Access: Public
00037 //  Description:
00038 ////////////////////////////////////////////////////////////////////
00039 INLINE PerspectiveLens::
00040 PerspectiveLens(const PerspectiveLens &copy) : Lens(copy) {
00041 }
00042 
00043 ////////////////////////////////////////////////////////////////////
00044 //     Function: PerspectiveLens::Copy Assignment Operator
00045 //       Access: Public
00046 //  Description:
00047 ////////////////////////////////////////////////////////////////////
00048 INLINE void PerspectiveLens::
00049 operator = (const PerspectiveLens &copy) {
00050   Lens::operator = (copy);
00051 }
00052 
 All Classes Functions Variables Enumerations