Panda3D
lwoHeader.I
1 // Filename: lwoHeader.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: LwoHeader::is_valid
18 // Access: Public
19 // Description: Returns true if the header represents a valid and
20 // recognized Lightwave header, false otherwise.
21 ////////////////////////////////////////////////////////////////////
22 INLINE bool LwoHeader::
23 is_valid() const {
24  return _valid;
25 }
26 
27 ////////////////////////////////////////////////////////////////////
28 // Function: LwoHeader::get_version
29 // Access: Public
30 // Description: Returns the version of the Lightwave file.
31 ////////////////////////////////////////////////////////////////////
32 INLINE double LwoHeader::
33 get_version() const {
34  return _version;
35 }
36 
double get_version() const
Returns the version of the Lightwave file.
Definition: lwoHeader.I:33
bool is_valid() const
Returns true if the header represents a valid and recognized Lightwave header, false otherwise...
Definition: lwoHeader.I:23