Main Page   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members  

panda/src/linmath/lrotation_src.h

Go to the documentation of this file.
00001 // Filename: lrotation_src.h
00002 // Created by:  frang, charles (23Jun00)
00003 //
00004 ////////////////////////////////////////////////////////////////////
00005 //
00006 // PANDA 3D SOFTWARE
00007 // Copyright (c) 2001, Disney Enterprises, Inc.  All rights reserved
00008 //
00009 // All use of this software is subject to the terms of the Panda 3d
00010 // Software license.  You should have received a copy of this license
00011 // along with this source code; you will also find a current copy of
00012 // the license at http://www.panda3d.org/license.txt .
00013 //
00014 // To contact the maintainers of this program write to
00015 // panda3d@yahoogroups.com .
00016 //
00017 ////////////////////////////////////////////////////////////////////
00018 
00019 ////////////////////////////////////////////////////////////////////////
00020 //       Class : LRotation
00021 // Description : This is a unit quaternion representing a rotation.
00022 ////////////////////////////////////////////////////////////////////////
00023 class EXPCL_PANDA FLOATNAME(LRotation) : public FLOATNAME(LQuaternion) {
00024 PUBLISHED:
00025   INLINE_LINMATH FLOATNAME(LRotation)();
00026   INLINE_LINMATH FLOATNAME(LRotation)(const FLOATNAME(LQuaternion)&);
00027   INLINE_LINMATH FLOATNAME(LRotation)(FLOATTYPE, FLOATTYPE, FLOATTYPE, FLOATTYPE);
00028   INLINE_LINMATH FLOATNAME(LRotation)(const FLOATNAME(LVector3) &, FLOATTYPE);
00029   INLINE_LINMATH FLOATNAME(LRotation)(const FLOATNAME(LMatrix3) &);
00030   INLINE_LINMATH FLOATNAME(LRotation)(const FLOATNAME(LMatrix4) &);
00031   INLINE_LINMATH FLOATNAME(LRotation)(FLOATTYPE, FLOATTYPE, FLOATTYPE);
00032 
00033   INLINE_LINMATH FLOATNAME(LRotation)
00034   operator*(const FLOATNAME(LRotation)& other) const;
00035 
00036   INLINE_LINMATH FLOATNAME(LQuaternion)
00037   operator*(const FLOATNAME(LQuaternion)& other) const;
00038 
00039 public:
00040   static TypeHandle get_class_type() {
00041     return _type_handle;
00042   }
00043   static void init_type();
00044 private:
00045   static TypeHandle _type_handle;
00046 };
00047 
00048 #include "lrotation_src.I"

Generated on Fri May 2 00:40:13 2003 for Panda by doxygen1.3