Panda3D
Main Page
Classes
Files
File List
All
Classes
Functions
Variables
Enumerations
panda
src
bullet
bulletTickCallbackData.I
1
// Filename: bulletTickCallbackData.I
2
// Created by: enn0x (26Nov12)
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
// Function: BulletTickCallbackData::Constructor
17
// Access: Published
18
// Description:
19
////////////////////////////////////////////////////////////////////
20
INLINE BulletTickCallbackData::
21
BulletTickCallbackData(btScalar timestep) :
22
_timestep(timestep) {
23
24
}
25
26
////////////////////////////////////////////////////////////////////
27
// Function: BulletTickCallbackData::get_timestep
28
// Access: Published
29
// Description:
30
////////////////////////////////////////////////////////////////////
31
INLINE PN_stdfloat BulletTickCallbackData::
32
get_timestep()
const
{
33
34
return
(PN_stdfloat)_timestep;
35
}
36
Generated on Mon Feb 1 2016 13:44:17 for Panda3D by
1.8.5