• 设为首页
  • 点击收藏
  • 手机版
    手机扫一扫访问
    迪恩网络手机版
  • 关注官方公众号
    微信扫一扫关注
    公众号

C++ BTVECTOR3_USE函数代码示例

原作者: [db:作者] 来自: [db:来源] 收藏 邀请

本文整理汇总了C++中BTVECTOR3_USE函数的典型用法代码示例。如果您正苦于以下问题:C++ BTVECTOR3_USE函数的具体用法?C++ BTVECTOR3_USE怎么用?C++ BTVECTOR3_USE使用的例子?那么恭喜您, 这里精选的函数代码示例或许可以为您提供帮助。



在下文中一共展示了BTVECTOR3_USE函数的20个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于我们的系统推荐出更棒的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


示例16: btMultiBody_fillContactJacobianMultiDof

void btMultiBody_fillContactJacobianMultiDof(btMultiBody* obj, int link, const btVector3* contact_point,
	const btVector3* normal, btScalar* jac, btAlignedObjectArray_btScalar* scratch_r,
	btAlignedObjectArray_btVector3* scratch_v, btAlignedObjectArray_btMatrix3x3* scratch_m)
{
	BTVECTOR3_IN(contact_point);
	BTVECTOR3_IN(normal);
	obj->fillContactJacobianMultiDof(link, BTVECTOR3_USE(contact_point), BTVECTOR3_USE(normal),
		jac, *scratch_r, *scratch_v, *scratch_m);
}
开发者ID:PowerOfCode,项目名称:BulletSharpPInvoke,代码行数:9,代码来源:btMultiBody_wrap.cpp


示例17: btPolyhedralConvexShape_getPlane

void btPolyhedralConvexShape_getPlane(btPolyhedralConvexShape* obj, btVector3* planeNormal,
	btVector3* planeSupport, int i)
{
	BTVECTOR3_DEF(planeNormal);
	BTVECTOR3_DEF(planeSupport);
	obj->getPlane(BTVECTOR3_USE(planeNormal), BTVECTOR3_USE(planeSupport), i);
	BTVECTOR3_DEF_OUT(planeNormal);
	BTVECTOR3_DEF_OUT(planeSupport);
}
开发者ID:Kaoswerk,项目名称:BulletSharpPInvoke,代码行数:9,代码来源:btPolyhedralConvexShape_wrap.cpp


示例18: btPolyhedralConvexShape_getEdge

void btPolyhedralConvexShape_getEdge(btPolyhedralConvexShape* obj, int i, btVector3* pa,
	btVector3* pb)
{
	BTVECTOR3_DEF(pa);
	BTVECTOR3_DEF(pb);
	obj->getEdge(i, BTVECTOR3_USE(pa), BTVECTOR3_USE(pb));
	BTVECTOR3_DEF_OUT(pa);
	BTVECTOR3_DEF_OUT(pb);
}
开发者ID:Kaoswerk,项目名称:BulletSharpPInvoke,代码行数:9,代码来源:btPolyhedralConvexShape_wrap.cpp


示例19: btUniversalConstraint_new

btUniversalConstraint* btUniversalConstraint_new(btRigidBody* rbA, btRigidBody* rbB,
	const btVector3* anchor, const btVector3* axis1, const btVector3* axis2)
{
	BTVECTOR3_IN(anchor);
	BTVECTOR3_IN(axis1);
	BTVECTOR3_IN(axis2);
	return new btUniversalConstraint(*rbA, *rbB, BTVECTOR3_USE(anchor), BTVECTOR3_USE(axis1),
		BTVECTOR3_USE(axis2));
}
开发者ID:Kaoswerk,项目名称:BulletSharpPInvoke,代码行数:9,代码来源:btUniversalConstraint_wrap.cpp


示例20: btHinge2Constraint_new

btHinge2Constraint* btHinge2Constraint_new(btRigidBody* rbA, btRigidBody* rbB, btVector3* anchor,
	btVector3* axis1, btVector3* axis2)
{
	BTVECTOR3_IN(anchor);
	BTVECTOR3_IN(axis1);
	BTVECTOR3_IN(axis2);
	return new btHinge2Constraint(*rbA, *rbB, BTVECTOR3_USE(anchor), BTVECTOR3_USE(axis1),
		BTVECTOR3_USE(axis2));
}
开发者ID:Kaoswerk,项目名称:BulletSharpPInvoke,代码行数:9,代码来源:btHinge2Constraint_wrap.cpp



注:本文中的BTVECTOR3_USE函数示例整理自Github/MSDocs等源码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。


鲜花

握手

雷人

路过

鸡蛋
该文章已有0人参与评论

请发表评论

全部评论

专题导读
上一篇:
C++ BT_DBG函数代码示例发布时间:2022-05-30
下一篇:
C++ BTRFS_I函数代码示例发布时间:2022-05-30
热门推荐
阅读排行榜

扫描微信二维码

查看手机版网站

随时了解更新最新资讯

139-2527-9053

在线客服(服务时间 9:00~18:00)

在线QQ客服
地址:深圳市南山区西丽大学城创智工业园
电邮:jeky_zhao#qq.com
移动电话:139-2527-9053

Powered by 互联科技 X3.4© 2001-2213 极客世界.|Sitemap