Ejemplo n.º 1
0
void btVector3_array_at(const btVector3* obj, int n, btVector3* value)
{
	BTVECTOR3_SET(value, obj[n]);
}
void btAABB_getMin(btAABB* obj, btVector3* value)
{
	BTVECTOR3_SET(value, obj->m_min);
}
void btCollisionShape_getAnisotropicRollingFrictionDirection(btCollisionShape* obj,
	btVector3* value)
{
	ATTRIBUTE_ALIGNED16(btVector3) temp = obj->getAnisotropicRollingFrictionDirection();
	BTVECTOR3_SET(value, temp);
}
void btKinematicCharacterController_getLinearVelocity(btKinematicCharacterController* obj,
	btVector3* value)
{
	BTVECTOR3_SET(value, obj->getLinearVelocity());
}
void btMultiBody_getAngularMomentum(btMultiBody* obj, btVector3* value)
{
	ATTRIBUTE_ALIGNED16(btVector3) temp = obj->getAngularMomentum();
	BTVECTOR3_SET(value, temp);
}
void btDynamicsWorld_getGravity(btDynamicsWorld* obj, btVector3* value)
{
	ATTRIBUTE_ALIGNED16(btVector3) temp = obj->getGravity();
	BTVECTOR3_SET(value, temp);
}
void btQuantizedBvh_unQuantize(btQuantizedBvh* obj, const unsigned short* vecIn,
	btVector3* value)
{
	BTVECTOR3_SET(value, obj->unQuantize(vecIn));
}
void btTranslationalLimitMotor_getCurrentLinearDiff(btTranslationalLimitMotor* obj,
	btVector3* value)
{
	BTVECTOR3_SET(value, obj->m_currentLinearDiff);
}
void btTranslationalLimitMotor_getMaxMotorForce(btTranslationalLimitMotor* obj, btVector3* value)
{
	BTVECTOR3_SET(value, obj->m_maxMotorForce);
}
void btMultibodyLink_getEVector(btMultibodyLink* obj, btVector3* value)
{
	BTVECTOR3_SET(value, obj->m_eVector);
}
void btTranslationalLimitMotor_getAccumulatedImpulse(btTranslationalLimitMotor* obj,
	btVector3* value)
{
	BTVECTOR3_SET(value, obj->m_accumulatedImpulse);
}
void btMultibodyLink_getAppliedTorque(btMultibodyLink* obj, btVector3* value)
{
	BTVECTOR3_SET(value, obj->m_appliedTorque);
}
void btMultibodyLink_getAppliedConstraintForce(btMultibodyLink* obj, btVector3* value)
{
	BTVECTOR3_SET(value, obj->m_appliedConstraintForce);
}
void btMultibodyLink_getInertiaLocal(btMultibodyLink* obj, btVector3* value)
{
	BTVECTOR3_SET(value, obj->m_inertiaLocal);
}
Ejemplo n.º 15
0
void btAlignedObjectArray_btVector3_at(btAlignedObjectArray_btVector3* obj, int n, btVector3* value)
{
	BTVECTOR3_SET(value, obj->at(n));
}
void btTranslationalLimitMotor_getNormalCFM(btTranslationalLimitMotor* obj, btVector3* value)
{
	BTVECTOR3_SET(value, obj->m_normalCFM);
}
void btConvexHullShape_getScaledPoint(btConvexHullShape* obj, int i, btVector3* value)
{
	ATTRIBUTE_ALIGNED16(btVector3) temp = obj->getScaledPoint(i);
	BTVECTOR3_SET(value, temp);
}
void btTranslationalLimitMotor_getStopERP(btTranslationalLimitMotor* obj, btVector3* value)
{
	BTVECTOR3_SET(value, obj->m_stopERP);
}
void btRaycastVehicle_getForwardVector(btRaycastVehicle* obj, btVector3* value)
{
    BTVECTOR3_SET(value, obj->getForwardVector());
}
void btTranslationalLimitMotor_getTargetVelocity(btTranslationalLimitMotor* obj,
	btVector3* value)
{
	BTVECTOR3_SET(value, obj->m_targetVelocity);
}
void btOptimizedBvhNode_getAabbMinOrg(btOptimizedBvhNode* obj, btVector3* value)
{
	BTVECTOR3_SET(value, obj->m_aabbMinOrg);
}
void btTranslationalLimitMotor_getUpperLimit(btTranslationalLimitMotor* obj, btVector3* value)
{
	BTVECTOR3_SET(value, obj->m_upperLimit);
}
Ejemplo n.º 23
0
void btDbvtAabbMm_Lengths(btDbvtAabbMm* obj, btVector3* value)
{
	ATTRIBUTE_ALIGNED16(btVector3) temp = obj->Lengths();
	BTVECTOR3_SET(value, temp);
}
void btGeneric6DofConstraint_getAxis(btGeneric6DofConstraint* obj, int axis_index,
	btVector3* value)
{
	ATTRIBUTE_ALIGNED16(btVector3) temp = obj->getAxis(axis_index);
	BTVECTOR3_SET(value, temp);
}
void btMultiBody_getBaseOmega(btMultiBody* obj, btVector3* value)
{
	ATTRIBUTE_ALIGNED16(btVector3) temp = obj->getBaseOmega();
	BTVECTOR3_SET(value, temp);
}
void btAABB_getMax(btAABB* obj, btVector3* value)
{
	BTVECTOR3_SET(value, obj->m_max);
}