open_toontown_panda3d/panda/src/ode/odeBody_ext.I

27 lines
929 B
Plaintext

// 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();
}