Panda3D
Loading...
Searching...
No Matches
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 */
19empty() {
20
21 return BulletAllHitsRayResult(btVector3(0, 0, 0), btVector3(0, 0, 0), CollideMask::all_on());
22}
23
24/**
25 * Named constructor intended to be used for asserts with have to return a
26 * concrete value.
27 */
29empty() {
30
31 return BulletRayHit();
32}
static BitMask< uint32_t, 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.