Panda3D
fltTransformRecord.cxx
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 fltTransformRecord.cxx
10  * @author drose
11  * @date 2000-08-24
12  */
13 
14 #include "fltTransformRecord.h"
15 
16 TypeHandle FltTransformRecord::_type_handle;
17 
18 /**
19  *
20  */
21 FltTransformRecord::
22 FltTransformRecord(FltHeader *header) : FltRecord(header) {
23  _matrix = LMatrix4d::ident_mat();
24 }
25 
26 /**
27  * Returns the transform matrix represented by this particular component of
28  * the transform.
29  */
30 const LMatrix4d &FltTransformRecord::
31 get_matrix() const {
32  return _matrix;
33 }
const LMatrix4d & get_matrix() const
Returns the transform matrix represented by this particular component of the transform.
This is the first bead in the file, the top of the bead hierarchy, and the primary interface to readi...
Definition: fltHeader.h:44
The base class for all kinds of records in a MultiGen OpenFlight file.
Definition: fltRecord.h:36
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
TypeHandle is the identifier used to differentiate C++ class types.
Definition: typeHandle.h:81