Panda3D
panda
src
bullet
bulletClosestHitRayResult.I
1
// Filename: bulletClosestHitRayResult.I
2
// Created by: enn0x (21Feb10)
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: BulletClosestHitRayResult::empty
18
// Access: Public
19
// Description: Named constructor intended to be used for asserts
20
// with have to return a concrete value.
21
////////////////////////////////////////////////////////////////////
22
INLINE
BulletClosestHitRayResult
BulletClosestHitRayResult::
23
empty
() {
24
25
btVector3 from;
26
btVector3 to;
27
28
return
BulletClosestHitRayResult
(from, to,
CollideMask::all_on
());
29
}
30
BitMask< PN_uint32, 32 >::all_on
static BitMask< PN_uint32, nbits > all_on()
Returns a BitMask whose bits are all on.
Definition:
bitMask.I:73
BulletClosestHitRayResult::empty
static BulletClosestHitRayResult empty()
Named constructor intended to be used for asserts with have to return a concrete value.
Definition:
bulletClosestHitRayResult.I:23
BulletClosestHitRayResult
Definition:
bulletClosestHitRayResult.h:31
Generated on Wed May 17 2017 23:39:57 for Panda3D by
1.8.13