Panda3D
Main Page
Classes
Files
File List
All
Classes
Functions
Variables
Enumerations
panda
src
bullet
bulletConeTwistConstraint.I
1
// Filename: bulletConeTwistConstraint.I
2
// Created by: enn0x (01Mar10)
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: BulletConeTwistConstraint::Destructor
17
// Access: Published
18
// Description:
19
////////////////////////////////////////////////////////////////////
20
INLINE BulletConeTwistConstraint::
21
~BulletConeTwistConstraint() {
22
23
delete
_constraint;
24
}
25
26
////////////////////////////////////////////////////////////////////
27
// Function: BulletConeTwistConstraint::get_frame_a
28
// Access: Published
29
// Description:
30
////////////////////////////////////////////////////////////////////
31
INLINE CPT(TransformState)
BulletConeTwistConstraint
::
32
get_frame_a()
const
{
33
34
return
btTrans_to_TransformState(_constraint->getAFrame());
35
}
36
37
////////////////////////////////////////////////////////////////////
38
// Function: BulletConeTwistConstraint::get_frame_b
39
// Access: Published
40
// Description:
41
////////////////////////////////////////////////////////////////////
42
INLINE CPT(TransformState)
BulletConeTwistConstraint
::
43
get_frame_b()
const
{
44
45
return
btTrans_to_TransformState(_constraint->getBFrame());
46
}
47
BulletConeTwistConstraint
Definition:
bulletConeTwistConstraint.h:32
Generated on Mon Feb 1 2016 13:44:17 for Panda3D by
1.8.5