Panda3D
panda
src
physx
physxRay.I
1
// Filename: physxRay.I
2
// Created by: enn0x (21Oct09)
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: PhysxRay::Constructor
18
// Access: Published
19
// Description:
20
////////////////////////////////////////////////////////////////////
21
INLINE PhysxRay::
22
PhysxRay() {
23
24
_ray.orig = NxVec3(0.0f, 0.0f, 0.0f);
25
_ray.dir = NxVec3(1.0f, 0.0f, 0.0f);
26
27
_length = NX_MAX_F32;
28
}
29
30
////////////////////////////////////////////////////////////////////
31
// Function: PhysxRay::Destructor
32
// Access: Published
33
// Description:
34
////////////////////////////////////////////////////////////////////
35
INLINE PhysxRay::
36
~PhysxRay() {
37
38
}
39
Generated on Wed May 17 2017 23:45:58 for Panda3D by
1.8.13