open_toontown_panda3d/panda/src/physx/physxRay.I

40 lines
1.1 KiB
Plaintext

// Filename: physxRay.I
// Created by: enn0x (21Oct09)
//
////////////////////////////////////////////////////////////////////
//
// PANDA 3D SOFTWARE
// Copyright (c) Carnegie Mellon University. All rights reserved.
//
// All use of this software is subject to the terms of the revised BSD
// license. You should have received a copy of this license along
// with this source code in a file named "LICENSE."
//
////////////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////
// Function: PhysxRay::Constructor
// Access: Published
// Description:
////////////////////////////////////////////////////////////////////
INLINE PhysxRay::
PhysxRay() {
_ray.orig = NxVec3(0.0f, 0.0f, 0.0f);
_ray.dir = NxVec3(1.0f, 0.0f, 0.0f);
_length = NX_MAX_F32;
}
////////////////////////////////////////////////////////////////////
// Function: PhysxRay::Destructor
// Access: Published
// Description:
////////////////////////////////////////////////////////////////////
INLINE PhysxRay::
~PhysxRay() {
}