本文整理汇总了C++中BTVECTOR3_USE函数的典型用法代码示例。如果您正苦于以下问题:C++ BTVECTOR3_USE函数的具体用法?C++ BTVECTOR3_USE怎么用?C++ BTVECTOR3_USE使用的例子?那么恭喜您, 这里精选的函数代码示例或许可以为您提供帮助。
在下文中一共展示了BTVECTOR3_USE函数的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C++代码示例。
示例1: btQuantizedBvh_reportRayOverlappingNodex
void btQuantizedBvh_reportRayOverlappingNodex(btQuantizedBvh* obj, btNodeOverlapCallback* nodeCallback,
const btVector3* raySource, const btVector3* rayTarget)
{
BTVECTOR3_IN(raySource);
BTVECTOR3_IN(rayTarget);
obj->reportRayOverlappingNodex(nodeCallback, BTVECTOR3_USE(raySource), BTVECTOR3_USE(rayTarget));
}
示例2: btAABB_new2
btAABB* btAABB_new2(const btVector3* V1, const btVector3* V2, const btVector3* V3)
{
BTVECTOR3_IN(V1);
BTVECTOR3_IN(V2);
BTVECTOR3_IN(V3);
return new btAABB(BTVECTOR3_USE(V1), BTVECTOR3_USE(V2), BTVECTOR3_USE(V3));
}
示例3: btPoint2PointConstraint_new
btPoint2PointConstraint* btPoint2PointConstraint_new(btRigidBody* rbA, btRigidBody* rbB,
const btVector3* pivotInA, const btVector3* pivotInB)
{
BTVECTOR3_IN(pivotInA);
BTVECTOR3_IN(pivotInB);
return new btPoint2PointConstraint(*rbA, *rbB, BTVECTOR3_USE(pivotInA), BTVECTOR3_USE(pivotInB));
}
示例4: btGeneric6DofConstraint_setAxis
void btGeneric6DofConstraint_setAxis(btGeneric6DofConstraint* obj, const btVector3* axis1,
const btVector3* axis2)
{
BTVECTOR3_IN(axis1);
BTVECTOR3_IN(axis2);
obj->setAxis(BTVECTOR3_USE(axis1), BTVECTOR3_USE(axis2));
}
示例5: btOptimizedBvh_refitPartial
void btOptimizedBvh_refitPartial(btOptimizedBvh* obj, btStridingMeshInterface* triangles,
const btVector3* aabbMin, const btVector3* aabbMax)
{
BTVECTOR3_IN(aabbMin);
BTVECTOR3_IN(aabbMax);
obj->refitPartial(triangles, BTVECTOR3_USE(aabbMin), BTVECTOR3_USE(aabbMax));
}
示例6: btQuantizedBvh_reportAabbOverlappingNodex
void btQuantizedBvh_reportAabbOverlappingNodex(btQuantizedBvh* obj, btNodeOverlapCallback* nodeCallback,
const btVector3* aabbMin, const btVector3* aabbMax)
{
BTVECTOR3_IN(aabbMin);
BTVECTOR3_IN(aabbMax);
obj->reportAabbOverlappingNodex(nodeCallback, BTVECTOR3_USE(aabbMin), BTVECTOR3_USE(aabbMax));
}
示例7: btGearConstraint_new
btGearConstraint* btGearConstraint_new(btRigidBody* rbA, btRigidBody* rbB, const btVector3* axisInA,
const btVector3* axisInB)
{
BTVECTOR3_IN(axisInA);
BTVECTOR3_IN(axisInB);
return new btGearConstraint(*rbA, *rbB, BTVECTOR3_USE(axisInA), BTVECTOR3_USE(axisInB));
}
示例8: btQuantizedBvh_setQuantizationValues
void btQuantizedBvh_setQuantizationValues(btQuantizedBvh* obj, const btVector3* bvhAabbMin,
const btVector3* bvhAabbMax)
{
BTVECTOR3_IN(bvhAabbMin);
BTVECTOR3_IN(bvhAabbMax);
obj->setQuantizationValues(BTVECTOR3_USE(bvhAabbMin), BTVECTOR3_USE(bvhAabbMax));
}
示例9: btDbvtAabbMm_FromCE
btDbvtAabbMm* btDbvtAabbMm_FromCE(const btVector3* c, const btVector3* e)
{
btDbvtAabbMm* ret = new btDbvtAabbMm;
BTVECTOR3_IN(c);
BTVECTOR3_IN(e);
*ret = btDbvtAabbMm::FromCE(BTVECTOR3_USE(c), BTVECTOR3_USE(e));
return ret;
}
示例10: btAABB_get_center_extend
void btAABB_get_center_extend(btAABB* obj, btVector3* center, btVector3* extend)
{
BTVECTOR3_DEF(center);
BTVECTOR3_DEF(extend);
obj->get_center_extend(BTVECTOR3_USE(center), BTVECTOR3_USE(extend));
BTVECTOR3_DEF_OUT(center);
BTVECTOR3_DEF_OUT(extend);
}
示例11: btQuantizedBvh_setQuantizationValues2
void btQuantizedBvh_setQuantizationValues2(btQuantizedBvh* obj, const btVector3* bvhAabbMin,
const btVector3* bvhAabbMax, btScalar quantizationMargin)
{
BTVECTOR3_IN(bvhAabbMin);
BTVECTOR3_IN(bvhAabbMax);
obj->setQuantizationValues(BTVECTOR3_USE(bvhAabbMin), BTVECTOR3_USE(bvhAabbMax),
quantizationMargin);
}
示例12: btOptimizedBvh_build
void btOptimizedBvh_build(btOptimizedBvh* obj, btStridingMeshInterface* triangles,
bool useQuantizedAabbCompression, const btVector3* bvhAabbMin, const btVector3* bvhAabbMax)
{
BTVECTOR3_IN(bvhAabbMin);
BTVECTOR3_IN(bvhAabbMax);
obj->build(triangles, useQuantizedAabbCompression, BTVECTOR3_USE(bvhAabbMin),
BTVECTOR3_USE(bvhAabbMax));
}
示例13: btAABB_new3
btAABB* btAABB_new3(const btVector3* V1, const btVector3* V2, const btVector3* V3,
btScalar margin)
{
BTVECTOR3_IN(V1);
BTVECTOR3_IN(V2);
BTVECTOR3_IN(V3);
return new btAABB(BTVECTOR3_USE(V1), BTVECTOR3_USE(V2), BTVECTOR3_USE(V3), margin);
}
示例14: btDbvtAabbMm_FromMM
btDbvtAabbMm* btDbvtAabbMm_FromMM(const btVector3* mi, const btVector3* mx)
{
btDbvtAabbMm* ret = new btDbvtAabbMm;
BTVECTOR3_IN(mi);
BTVECTOR3_IN(mx);
*ret = btDbvtAabbMm::FromMM(BTVECTOR3_USE(mi), BTVECTOR3_USE(mx));
return ret;
}
示例15: btMultiBodyPoint2Point_new
btMultiBodyPoint2Point* btMultiBodyPoint2Point_new(btMultiBody* body, int link, btRigidBody* bodyB,
const btVector3* pivotInA, const btVector3* pivotInB)
{
BTVECTOR3_IN(pivotInA);
BTVECTOR3_IN(pivotInB);
return new btMultiBodyPoint2Point(body, link, bodyB, BTVECTOR3_USE(pivotInA),
BTVECTOR3_USE(pivotInB));
}