open_toontown_panda3d/pandatool/src/eggcharbase/eggVertexPointer.cxx

68 lines
2.3 KiB
C++

// Filename: eggVertexPointer.cxx
// Created by: drose (26Feb01)
//
////////////////////////////////////////////////////////////////////
//
// PANDA 3D SOFTWARE
// Copyright (c) 2001, Disney Enterprises, Inc. All rights reserved
//
// All use of this software is subject to the terms of the Panda 3d
// Software license. You should have received a copy of this license
// along with this source code; you will also find a current copy of
// the license at http://www.panda3d.org/license.txt .
//
// To contact the maintainers of this program write to
// panda3d@yahoogroups.com .
//
////////////////////////////////////////////////////////////////////
#include "eggVertexPointer.h"
TypeHandle EggVertexPointer::_type_handle;
////////////////////////////////////////////////////////////////////
// Function: EggVertexPointer::Constructor
// Access: Public
// Description:
////////////////////////////////////////////////////////////////////
EggVertexPointer::
EggVertexPointer(EggObject *egg_object) {
}
////////////////////////////////////////////////////////////////////
// Function: EggVertexPointer::get_num_frames
// Access: Public, Virtual
// Description: Returns the number of frames of animation for this
// particular slider.
////////////////////////////////////////////////////////////////////
int EggVertexPointer::
get_num_frames() const {
return 0;
}
////////////////////////////////////////////////////////////////////
// Function: EggVertexPointer::get_frame
// Access: Public, Virtual
// Description: Returns the value corresponding to this
// slider position in the nth frame.
////////////////////////////////////////////////////////////////////
double EggVertexPointer::
get_frame(int n) const {
nassertr(false, 0.0);
return 0.0;
}
////////////////////////////////////////////////////////////////////
// Function: EggVertexPointer::has_vertices
// Access: Public, Virtual
// Description: Returns true if there are any vertices referenced by
// the node this points to, false otherwise. For
// certain kinds of back pointers (e.g. table animation
// entries), this is always false.
////////////////////////////////////////////////////////////////////
bool EggVertexPointer::
has_vertices() const {
return true;
}