Home
last modified time | relevance | path

Searched refs:m_localScaling (Results 1 – 25 of 30) sorted by relevance

12

/external/libgdx/extensions/gdx-bullet/jni/src/bullet/BulletCollision/CollisionShapes/
DbtScaledBvhTriangleMeshShape.cpp20 :m_localScaling(localScaling),m_bvhTriMeshShape(childShape) in btScaledBvhTriangleMeshShape()
34 btVector3 m_localScaling; member in btScaledTriangleCallback
40 m_localScaling(localScaling) in btScaledTriangleCallback()
47 newTriangle[0] = triangle[0]*m_localScaling; in processTriangle()
48 newTriangle[1] = triangle[1]*m_localScaling; in processTriangle()
49 newTriangle[2] = triangle[2]*m_localScaling; in processTriangle()
56 btScaledTriangleCallback scaledCallback(callback,m_localScaling); in processAllTriangles()
58 …btVector3 invLocalScaling(1.f/m_localScaling.getX(),1.f/m_localScaling.getY(),1.f/m_localScaling.g… in processAllTriangles()
62 …scaledAabbMin[0] = m_localScaling.getX() >= 0. ? aabbMin[0] * invLocalScaling[0] : aabbMax[0] * in… in processAllTriangles()
63 …scaledAabbMin[1] = m_localScaling.getY() >= 0. ? aabbMin[1] * invLocalScaling[1] : aabbMax[1] * in… in processAllTriangles()
[all …]
DbtHeightfieldTerrainShape.cpp85 m_localScaling.setValue(btScalar(1.), btScalar(1.), btScalar(1.)); in initialize()
129 btVector3 halfExtents = (m_localAabbMax-m_localAabbMin)* m_localScaling * btScalar(0.5); in getAabb()
133 localOrigin *= m_localScaling; in getAabb()
232 vertex*=m_localScaling; in getVertex()
284 …btVector3 localAabbMin = aabbMin*btVector3(1.f/m_localScaling[0],1.f/m_localScaling[1],1.f/m_local… in processAllTriangles()
285 …btVector3 localAabbMax = aabbMax*btVector3(1.f/m_localScaling[0],1.f/m_localScaling[1],1.f/m_local… in processAllTriangles()
404 m_localScaling = scaling; in setLocalScaling()
408 return m_localScaling; in getLocalScaling()
DbtConvexInternalShape.h35 btVector3 m_localScaling; in ATTRIBUTE_ALIGNED16()
101 return m_localScaling; in ATTRIBUTE_ALIGNED16()
106 return m_localScaling; in ATTRIBUTE_ALIGNED16()
148 btVector3FloatData m_localScaling; member
172 m_localScaling.serializeFloat(shapeData->m_localScaling); in serialize()
DbtScaledBvhTriangleMeshShape.h28 btVector3 m_localScaling; in ATTRIBUTE_ALIGNED16() local
74 btVector3FloatData m_localScaling; member
90 m_localScaling.serializeFloat(scaledMeshData->m_localScaling); in serialize()
DbtStaticPlaneShape.h31 btVector3 m_localScaling; in ATTRIBUTE_ALIGNED16() local
76 btVector3FloatData m_localScaling; member
94 m_localScaling.serializeFloat(planeData->m_localScaling); in serialize()
DbtConvexPointCloudShape.h34 m_localScaling.setValue(1.f,1.f,1.f); in ATTRIBUTE_ALIGNED16()
42 m_localScaling = localScaling; in ATTRIBUTE_ALIGNED16()
55 m_localScaling = localScaling; in ATTRIBUTE_ALIGNED16()
78 return m_unscaledPoints[index] * m_localScaling; in ATTRIBUTE_ALIGNED16()
DbtEmptyShape.h47 m_localScaling = scaling; in ATTRIBUTE_ALIGNED16()
51 return m_localScaling; in ATTRIBUTE_ALIGNED16()
66 btVector3 m_localScaling; in ATTRIBUTE_ALIGNED16()
DbtConvexHullShape.cpp48 m_localScaling = scaling; in setLocalScaling()
68 btVector3 scaled = vec * m_localScaling; in localGetSupportingVertexWithoutMargin()
70 return m_unscaledPoints[index] * m_localScaling; in localGetSupportingVertexWithoutMargin()
89 btVector3 vec = vectors[j] * m_localScaling; // dot(a*b,c) = dot(a,b*c) in batchedUnitVectorGetSupportingVertexWithoutMargin()
218 btVector3 vtx = m_unscaledPoints[i] * m_localScaling; in project()
DbtCapsuleShape.h99 …or3 unScaledImplicitShapeDimensionsWithMargin = implicitShapeDimensionsWithMargin / m_localScaling; in ATTRIBUTE_ALIGNED16()
103 …m_implicitShapeDimensions = (unScaledImplicitShapeDimensionsWithMargin * m_localScaling) - oldMarg… in ATTRIBUTE_ALIGNED16()
189 m_localScaling.deSerializeFloat(dataBuffer->m_convexInternalShapeData.m_localScaling); in deSerializeFloat()
DbtConvexPointCloudShape.cpp23 m_localScaling = scaling; in setLocalScaling()
59 const btVector3& vec = vectors[j] * m_localScaling; // dot( a*c, b) = dot(a, b*c) in batchedUnitVectorGetSupportingVertexWithoutMargin()
119 vtx = m_unscaledPoints[i]*m_localScaling; in getVertex()
DbtStaticPlaneShape.cpp24 m_localScaling(btScalar(1.),btScalar(1.),btScalar(1.)) in btStaticPlaneShape()
102 m_localScaling = scaling; in setLocalScaling()
106 return m_localScaling; in getLocalScaling()
DbtConeShape.cpp143 m_height *= scaling[axis] / m_localScaling[axis]; in setLocalScaling()
144 m_radius *= (scaling[r1] / m_localScaling[r1] + scaling[r2] / m_localScaling[r2]) / 2; in setLocalScaling()
DbtCompoundShape.h68 btVector3 m_localScaling; in ATTRIBUTE_ALIGNED16() local
128 return m_localScaling; in ATTRIBUTE_ALIGNED16()
DbtConvexInternalShape.cpp22 : m_localScaling(btScalar(1.),btScalar(1.),btScalar(1.)), in btConvexInternalShape()
30 m_localScaling = scaling.absolute(); in setLocalScaling()
DbtCompoundShape.cpp27 m_localScaling(btScalar(1.),btScalar(1.),btScalar(1.)) in btCompoundShape()
288 childScale = childScale * scaling / m_localScaling; in setLocalScaling()
290 childTrans.setOrigin((childTrans.getOrigin()) * scaling / m_localScaling); in setLocalScaling()
294 m_localScaling = scaling; in setLocalScaling()
DbtCylinderShape.h116 …or3 unScaledImplicitShapeDimensionsWithMargin = implicitShapeDimensionsWithMargin / m_localScaling; in ATTRIBUTE_ALIGNED16()
120 …m_implicitShapeDimensions = (unScaledImplicitShapeDimensionsWithMargin * m_localScaling) - oldMarg… in ATTRIBUTE_ALIGNED16()
DbtBox2dShape.h110 m_implicitShapeDimensions = (boxHalfExtents * m_localScaling) - margin; in ATTRIBUTE_ALIGNED16()
128 …or3 unScaledImplicitShapeDimensionsWithMargin = implicitShapeDimensionsWithMargin / m_localScaling; in ATTRIBUTE_ALIGNED16()
132 …m_implicitShapeDimensions = (unScaledImplicitShapeDimensionsWithMargin * m_localScaling) - oldMarg… in ATTRIBUTE_ALIGNED16()
DbtMultiSphereShape.cpp78 temp[i] = (*pos) +vec*m_localScaling*(*rad) - vec * getMargin(); in localGetSupportingVertexWithoutMargin()
116 temp[i] = (*pos) +vec*m_localScaling*(*rad) - vec * getMargin(); in batchedUnitVectorGetSupportingVertexWithoutMargin()
DbtBoxShape.cpp25 m_implicitShapeDimensions = (boxHalfExtents * m_localScaling) - margin; in btBoxShape()
DbtSphereShape.h47 btScalar getRadius() const { return m_implicitShapeDimensions.getX() * m_localScaling.getX();} in ATTRIBUTE_ALIGNED16()
DbtBoxShape.h102 …or3 unScaledImplicitShapeDimensionsWithMargin = implicitShapeDimensionsWithMargin / m_localScaling; in ATTRIBUTE_ALIGNED16()
106 …m_implicitShapeDimensions = (unScaledImplicitShapeDimensionsWithMargin * m_localScaling) - oldMarg… in ATTRIBUTE_ALIGNED16()
DbtConvexHullShape.h63 return m_unscaledPoints[i] * m_localScaling; in ATTRIBUTE_ALIGNED16()
DbtHeightfieldTerrainShape.h101 btVector3 m_localScaling; in ATTRIBUTE_ALIGNED16() local
/external/libgdx/extensions/gdx-bullet/jni/src/extras/Serialize/BulletFileLoader/autogenerated/
Dbullet.h308 btVector3FloatData m_localScaling; variable
320 btVector3FloatData m_localScaling; variable
427 btVector3FloatData m_localScaling; variable
521 btVector3FloatData m_localScaling; variable
/external/libgdx/extensions/gdx-bullet/jni/src/bullet/BulletCollision/CollisionDispatch/
DbtCollisionWorldImporter.cpp271 localScaling.deSerializeFloat(planeData->m_localScaling); in convertCollisionShape()
285 localScaling.deSerializeFloat(scaledMesh->m_localScaling); in convertCollisionShape()
302 localScaling.deSerializeFloat(gimpactData->m_localScaling); in convertCollisionShape()
363 localScaling.deSerializeFloat(bsd->m_localScaling); in convertCollisionShape()
509 localScaling.deSerializeFloat(bsd->m_localScaling); in convertCollisionShape()

12