Panda3D
bulletAllHitsRayResult.I
Go to the documentation of this file.
1 /**
2  * PANDA 3D SOFTWARE
3  * Copyright (c) Carnegie Mellon University. All rights reserved.
4  *
5  * All use of this software is subject to the terms of the revised BSD
6  * license. You should have received a copy of this license along
7  * with this source code in a file named "LICENSE."
8  *
9  * @file bulletAllHitsRayResult.I
10  * @author enn0x
11  * @date 2010-02-21
12  */
13 
14 /**
15  * Named constructor intended to be used for asserts with have to return a
16  * concrete value.
17  */
19 empty() {
20 
21  btVector3 from;
22  btVector3 to;
23 
24  return BulletAllHitsRayResult(from, to, CollideMask::all_on());
25 }
26 
27 /**
28  * Named constructor intended to be used for asserts with have to return a
29  * concrete value.
30  */
32 empty() {
33 
34  return BulletRayHit();
35 }
static BitMask< WType, nbits > all_on()
Returns a BitMask whose bits are all on.
Definition: bitMask.I:32
static BulletAllHitsRayResult empty()
Named constructor intended to be used for asserts with have to return a concrete value.
static BulletRayHit empty()
Named constructor intended to be used for asserts with have to return a concrete value.