00001 // Filename: animChannelBase.I 00002 // Created by: drose (19Feb99) 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 // Function: AnimChannelBase::Protected constructor 00021 // Access: Protected 00022 // Description: Don't use this constructor. It exists only so that 00023 // AnimChannelFixed may define itself outside of the 00024 // hierarchy. Normally, an AnimChannel must be created 00025 // as part of a hierarchy. 00026 //////////////////////////////////////////////////////////////////// 00027 INLINE AnimChannelBase:: 00028 AnimChannelBase(const string &name) 00029 : AnimGroup(name) 00030 { 00031 _last_frame = -1; 00032 } 00033 00034 //////////////////////////////////////////////////////////////////// 00035 // Function: AnimChannelBase::Constructor 00036 // Access: Public 00037 // Description: This is the normal constructor, which automatically 00038 // places the AnimChannel in the previously-created 00039 // hierarchy. 00040 //////////////////////////////////////////////////////////////////// 00041 INLINE AnimChannelBase:: 00042 AnimChannelBase(AnimGroup *parent, const string &name) 00043 : AnimGroup(parent, name) 00044 { 00045 _last_frame = -1; 00046 } 00047 00048