Panda3D
 All Classes Functions Variables Enumerations
physxRay.I
00001 // Filename: physxRay.I
00002 // Created by:  enn0x (21Oct09)
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 
00016 ////////////////////////////////////////////////////////////////////
00017 //     Function: PhysxRay::Constructor
00018 //       Access: Published
00019 //  Description:
00020 ////////////////////////////////////////////////////////////////////
00021 INLINE PhysxRay::
00022 PhysxRay() {
00023 
00024   _ray.orig = NxVec3(0.0f, 0.0f, 0.0f);
00025   _ray.dir = NxVec3(1.0f, 0.0f, 0.0f);
00026 
00027   _length = NX_MAX_F32;
00028 }
00029 
00030 ////////////////////////////////////////////////////////////////////
00031 //     Function: PhysxRay::Destructor
00032 //       Access: Published
00033 //  Description:
00034 ////////////////////////////////////////////////////////////////////
00035 INLINE PhysxRay::
00036 ~PhysxRay() {
00037 
00038 }
00039 
 All Classes Functions Variables Enumerations