Panda3D

eggVertexPointer.cxx

00001 // Filename: eggVertexPointer.cxx
00002 // Created by:  drose (26Feb01)
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 #include "eggVertexPointer.h"
00016 
00017 
00018 TypeHandle EggVertexPointer::_type_handle;
00019 
00020 ////////////////////////////////////////////////////////////////////
00021 //     Function: EggVertexPointer::Constructor
00022 //       Access: Public
00023 //  Description:
00024 ////////////////////////////////////////////////////////////////////
00025 EggVertexPointer::
00026 EggVertexPointer(EggObject *egg_object) {
00027 }
00028 
00029 ////////////////////////////////////////////////////////////////////
00030 //     Function: EggVertexPointer::get_num_frames
00031 //       Access: Public, Virtual
00032 //  Description: Returns the number of frames of animation for this
00033 //               particular slider.
00034 ////////////////////////////////////////////////////////////////////
00035 int EggVertexPointer::
00036 get_num_frames() const {
00037   return 0;
00038 }
00039 
00040 ////////////////////////////////////////////////////////////////////
00041 //     Function: EggVertexPointer::get_frame
00042 //       Access: Public, Virtual
00043 //  Description: Returns the value corresponding to this
00044 //               slider position in the nth frame.
00045 ////////////////////////////////////////////////////////////////////
00046 double EggVertexPointer::
00047 get_frame(int n) const {
00048   nassertr(false, 0.0);
00049   return 0.0;
00050 }
00051 
00052 ////////////////////////////////////////////////////////////////////
00053 //     Function: EggVertexPointer::has_vertices
00054 //       Access: Public, Virtual
00055 //  Description: Returns true if there are any vertices referenced by
00056 //               the node this points to, false otherwise.  For
00057 //               certain kinds of back pointers (e.g. table animation
00058 //               entries), this is always false.
00059 ////////////////////////////////////////////////////////////////////
00060 bool EggVertexPointer::
00061 has_vertices() const {
00062   return true;
00063 }
 All Classes Functions Variables Enumerations