forked from panda3d/panda3d
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathodeBody_ext.I
More file actions
26 lines (24 loc) · 929 Bytes
/
odeBody_ext.I
File metadata and controls
26 lines (24 loc) · 929 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
// Filename: odeBody_ext.I
// Created by: rdb (11Dec13)
//
////////////////////////////////////////////////////////////////////
//
// PANDA 3D SOFTWARE
// Copyright (c) Carnegie Mellon University. All rights reserved.
//
// All use of this software is subject to the terms of the revised BSD
// license. You should have received a copy of this license along
// with this source code in a file named "LICENSE."
//
////////////////////////////////////////////////////////////////////
#include "odeJoint_ext.h"
////////////////////////////////////////////////////////////////////
// Function: OdeBody::get_converted_joint
// Access: Published
// Description: Equivalent to get_joint().convert()
////////////////////////////////////////////////////////////////////
INLINE PyObject *Extension<OdeBody>::
get_converted_joint(int i) const {
OdeJoint j = _this->get_joint(i);
return invoke_extension(&j).convert();
}