Panda3D
|
00001 // Filename: lwoInputFile.I 00002 // Created by: drose (24Apr01) 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 00016 //////////////////////////////////////////////////////////////////// 00017 // Function: LwoInputFile::get_lwo_version 00018 // Access: Public 00019 // Description: Returns the version of the Lightwave file being read. 00020 // This is unknown until the header record has been 00021 // read; then it will be set by the header. 00022 //////////////////////////////////////////////////////////////////// 00023 INLINE double LwoInputFile:: 00024 get_lwo_version() const { 00025 return _lwo_version; 00026 } 00027 00028 00029 //////////////////////////////////////////////////////////////////// 00030 // Function: LwoInputFile::set_lwo_version 00031 // Access: Public 00032 // Description: Changes the version number reported for the Lightwave 00033 // file. Normally this is only called by LwoHeader as 00034 // it is read. 00035 //////////////////////////////////////////////////////////////////// 00036 INLINE void LwoInputFile:: 00037 set_lwo_version(double lwo_version) { 00038 _lwo_version = lwo_version; 00039 } 00040