Panda3D

characterJointBundle.I

00001 // Filename: characterJointBundle.I
00002 // Created by:  drose (02Mar99)
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 // This comment tells ppremake that we know this is a circular
00016 // #include reference, and please don't bother us about it.  The line
00017 // must be exactly as shown.
00018 /* okcircular */
00019 #include "character.h"
00020 
00021 ////////////////////////////////////////////////////////////////////
00022 //     Function: CharacterJointBundle::Copy Constructor
00023 //       Access: Public
00024 //  Description: Normally, you'd use make_copy() or copy_subgraph() to
00025 //               make a copy of this.
00026 ////////////////////////////////////////////////////////////////////
00027 INLINE CharacterJointBundle::
00028 CharacterJointBundle(const CharacterJointBundle &copy) :
00029   PartBundle(copy)
00030 {
00031 }
00032 
00033 ////////////////////////////////////////////////////////////////////
00034 //     Function: CharacterJointBundle::get_node
00035 //       Access: Public
00036 //  Description: Returns the nth Character associated with
00037 //               this PartBundle.
00038 ////////////////////////////////////////////////////////////////////
00039 INLINE Character *CharacterJointBundle::
00040 get_node(int n) const {
00041   return DCAST(Character, PartBundle::get_node(n));
00042 }
 All Classes Functions Variables Enumerations