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

panda/src/char/computedVerticesMorph.cxx

Go to the documentation of this file.
00001 // Filename: computedVerticesMorph.cxx
00002 // Created by:  jason (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 #include "computedVerticesMorph.h"
00021 
00022 #include <datagram.h>
00023 #include <datagramIterator.h>
00024 #include <bamReader.h>
00025 #include <bamWriter.h>
00026 
00027 ////////////////////////////////////////////////////////////////////
00028 //     Function: ComputedVerticesMorphValue2::write_datagram
00029 //       Access: Public
00030 //  Description:
00031 ////////////////////////////////////////////////////////////////////
00032 void ComputedVerticesMorphValue2::
00033 write_datagram(Datagram &dest)
00034 {
00035   dest.add_uint16(_index);
00036   _vector.write_datagram(dest);
00037 }
00038 
00039 ////////////////////////////////////////////////////////////////////
00040 //     Function: ComputedVerticesMorphValue2::read_datagram
00041 //       Access: Public
00042 //  Description:
00043 ////////////////////////////////////////////////////////////////////
00044 void ComputedVerticesMorphValue2::
00045 read_datagram(DatagramIterator &source)
00046 {
00047   _index = source.get_uint16();
00048   _vector.read_datagram(source);
00049 }
00050 
00051 ////////////////////////////////////////////////////////////////////
00052 //     Function: ComputedVerticesMorphValue3::write_datagram
00053 //       Access: Public
00054 //  Description:
00055 ////////////////////////////////////////////////////////////////////
00056 void ComputedVerticesMorphValue3::
00057 write_datagram(Datagram &dest)
00058 {
00059   dest.add_uint16(_index);
00060   _vector.write_datagram(dest);
00061 }
00062 
00063 ////////////////////////////////////////////////////////////////////
00064 //     Function: ComputedVerticesMorphValue3::read_datagram
00065 //       Access: Public
00066 //  Description:
00067 ////////////////////////////////////////////////////////////////////
00068 void ComputedVerticesMorphValue3::
00069 read_datagram(DatagramIterator &source)
00070 {
00071   _index = source.get_uint16();
00072   _vector.read_datagram(source);
00073 }
00074 
00075 ////////////////////////////////////////////////////////////////////
00076 //     Function: ComputedVerticesMorphValue4::write_datagram
00077 //       Access: Public
00078 //  Description:
00079 ////////////////////////////////////////////////////////////////////
00080 void ComputedVerticesMorphValue4::
00081 write_datagram(Datagram &dest)
00082 {
00083   dest.add_uint16(_index);
00084   _vector.write_datagram(dest);
00085 }
00086 
00087 ////////////////////////////////////////////////////////////////////
00088 //     Function: ComputedVerticesMorphValue4::read_datagram
00089 //       Access: Public
00090 //  Description:
00091 ////////////////////////////////////////////////////////////////////
00092 void ComputedVerticesMorphValue4::
00093 read_datagram(DatagramIterator &source)
00094 {
00095   _index = source.get_uint16();
00096   _vector.read_datagram(source);
00097 }
00098 
00099 
00100 
00101 
00102 
00103 
00104 
00105 
00106 
00107 

Generated on Fri May 2 00:35:25 2003 for Panda by doxygen1.3