Panda3D

fltTransformRecord.cxx

00001 // Filename: fltTransformRecord.cxx
00002 // Created by:  drose (24Aug00)
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 #include "fltTransformRecord.h"
00016 
00017 TypeHandle FltTransformRecord::_type_handle;
00018 
00019 ////////////////////////////////////////////////////////////////////
00020 //     Function: FltTransformRecord::Constructor
00021 //       Access: Public
00022 //  Description:
00023 ////////////////////////////////////////////////////////////////////
00024 FltTransformRecord::
00025 FltTransformRecord(FltHeader *header) : FltRecord(header) {
00026   _matrix = LMatrix4d::ident_mat();
00027 }
00028 
00029 ////////////////////////////////////////////////////////////////////
00030 //     Function: FltTransformRecord::get_matrix
00031 //       Access: Public
00032 //  Description: Returns the transform matrix represented by this
00033 //               particular component of the transform.
00034 ////////////////////////////////////////////////////////////////////
00035 const LMatrix4d &FltTransformRecord::
00036 get_matrix() const {
00037   return _matrix;
00038 }
 All Classes Functions Variables Enumerations