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