Panda3D
 All Classes Functions Variables Enumerations
lwoInputFile.I
1 // Filename: lwoInputFile.I
2 // Created by: drose (24Apr01)
3 //
4 ////////////////////////////////////////////////////////////////////
5 //
6 // PANDA 3D SOFTWARE
7 // Copyright (c) Carnegie Mellon University. All rights reserved.
8 //
9 // All use of this software is subject to the terms of the revised BSD
10 // license. You should have received a copy of this license along
11 // with this source code in a file named "LICENSE."
12 //
13 ////////////////////////////////////////////////////////////////////
14 
15 
16 ////////////////////////////////////////////////////////////////////
17 // Function: LwoInputFile::get_lwo_version
18 // Access: Public
19 // Description: Returns the version of the Lightwave file being read.
20 // This is unknown until the header record has been
21 // read; then it will be set by the header.
22 ////////////////////////////////////////////////////////////////////
23 INLINE double LwoInputFile::
24 get_lwo_version() const {
25  return _lwo_version;
26 }
27 
28 
29 ////////////////////////////////////////////////////////////////////
30 // Function: LwoInputFile::set_lwo_version
31 // Access: Public
32 // Description: Changes the version number reported for the Lightwave
33 // file. Normally this is only called by LwoHeader as
34 // it is read.
35 ////////////////////////////////////////////////////////////////////
36 INLINE void LwoInputFile::
37 set_lwo_version(double lwo_version) {
38  _lwo_version = lwo_version;
39 }
40 
void set_lwo_version(double version)
Changes the version number reported for the Lightwave file.
Definition: lwoInputFile.I:37
double get_lwo_version() const
Returns the version of the Lightwave file being read.
Definition: lwoInputFile.I:24