當前位置: 首頁>>代碼示例>>C++>>正文


C++ BTVECTOR3_USE函數代碼示例

本文整理匯總了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));
}
開發者ID:Kaoswerk,項目名稱:BulletSharpPInvoke,代碼行數:7,代碼來源:btQuantizedBvh_wrap.cpp

示例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));
}
開發者ID:Kaoswerk,項目名稱:BulletSharpPInvoke,代碼行數:7,代碼來源:btBoxCollision_wrap.cpp

示例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));
}
開發者ID:Kaoswerk,項目名稱:BulletSharpPInvoke,代碼行數:7,代碼來源:btPoint2PointConstraint_wrap.cpp

示例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));
}
開發者ID:PowerOfCode,項目名稱:BulletSharpPInvoke,代碼行數:7,代碼來源:btGeneric6DofConstraint_wrap.cpp

示例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));
}
開發者ID:Kaoswerk,項目名稱:BulletSharpPInvoke,代碼行數:7,代碼來源:btOptimizedBvh_wrap.cpp

示例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));
}
開發者ID:Kaoswerk,項目名稱:BulletSharpPInvoke,代碼行數:7,代碼來源:btQuantizedBvh_wrap.cpp

示例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));
}
開發者ID:Kaoswerk,項目名稱:BulletSharpPInvoke,代碼行數:7,代碼來源:btGearConstraint_wrap.cpp

示例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));
}
開發者ID:Kaoswerk,項目名稱:BulletSharpPInvoke,代碼行數:7,代碼來源:btQuantizedBvh_wrap.cpp

示例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;
}
開發者ID:PowerOfCode,項目名稱:BulletSharpPInvoke,代碼行數:8,代碼來源:btDbvt_wrap.cpp

示例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);
}
開發者ID:Kaoswerk,項目名稱:BulletSharpPInvoke,代碼行數:8,代碼來源:btBoxCollision_wrap.cpp

示例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);
}
開發者ID:Kaoswerk,項目名稱:BulletSharpPInvoke,代碼行數:8,代碼來源:btQuantizedBvh_wrap.cpp

示例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));
}
開發者ID:Kaoswerk,項目名稱:BulletSharpPInvoke,代碼行數:8,代碼來源:btOptimizedBvh_wrap.cpp

示例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);
}
開發者ID:Kaoswerk,項目名稱:BulletSharpPInvoke,代碼行數:8,代碼來源:btBoxCollision_wrap.cpp

示例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;
}
開發者ID:PowerOfCode,項目名稱:BulletSharpPInvoke,代碼行數:8,代碼來源:btDbvt_wrap.cpp

示例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));
}
開發者ID:Kaoswerk,項目名稱:BulletSharpPInvoke,代碼行數:8,代碼來源:btMultiBodyPoint2Point_wrap.cpp


注:本文中的BTVECTOR3_USE函數示例由純淨天空整理自Github/MSDocs等開源代碼及文檔管理平台,相關代碼片段篩選自各路編程大神貢獻的開源項目,源碼版權歸原作者所有,傳播和使用請參考對應項目的License;未經允許,請勿轉載。