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 */
18 INLINE BulletAllHitsRayResult BulletAllHitsRayResult::
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 */
31 INLINE BulletRayHit BulletRayHit::
32 empty() {
33
34 return BulletRayHit();
35 }
BitMask< uint32_t, 32 >::all_on
static BitMask< uint32_t, nbits > all_on()
Returns a BitMask whose bits are all on.
Definition: bitMask.I:32
BulletAllHitsRayResult
Definition: bulletAllHitsRayResult.h:64
BulletAllHitsRayResult::empty
static BulletAllHitsRayResult empty()
Named constructor intended to be used for asserts with have to return a concrete value.
Definition: bulletAllHitsRayResult.I:19
BulletRayHit
Definition: bulletAllHitsRayResult.h:29
BulletRayHit::empty
static BulletRayHit empty()
Named constructor intended to be used for asserts with have to return a concrete value.
Definition: bulletAllHitsRayResult.I:32