Home
last modified time | relevance | path

Searched refs:worldTransform (Results 1 – 25 of 31) sorted by relevance

12

/external/jmonkeyengine/engine/src/bullet-native/
DjmeMotionState.cpp42 worldTransform = *trans; in jmeMotionState()
47 worldTrans = worldTransform; in getWorldTransform()
51 worldTransform = worldTrans; in setWorldTransform()
56 worldTransform = worldTrans; in setKinematicTransform()
61 jmeBulletUtil::convert(env, location, &worldTransform.getOrigin()); in setKinematicLocation()
66 jmeBulletUtil::convert(env, rotation, &worldTransform.getBasis()); in setKinematicRotation()
71 jmeBulletUtil::convertQuat(env, rotation, &worldTransform.getBasis()); in setKinematicRotationQuat()
79 jmeBulletUtil::convert(env, &worldTransform.getOrigin(), location); in applyTransform()
80 jmeBulletUtil::convertQuat(env, &worldTransform.getBasis(), rotation); in applyTransform()
Dcom_jme3_bullet_objects_infos_RigidBodyMotionState.cpp85 jmeBulletUtil::convert(env, &motionState->worldTransform.getOrigin(), value); in Java_com_jme3_bullet_objects_infos_RigidBodyMotionState_getWorldLocation()
101 jmeBulletUtil::convert(env, &motionState->worldTransform.getBasis(), value); in Java_com_jme3_bullet_objects_infos_RigidBodyMotionState_getWorldRotation()
117 jmeBulletUtil::convertQuat(env, &motionState->worldTransform.getBasis(), value); in Java_com_jme3_bullet_objects_infos_RigidBodyMotionState_getWorldRotationQuat()
DjmeMotionState.h49 btTransform worldTransform; variable
Dcom_jme3_bullet_objects_PhysicsRigidBody.cpp92 body->setCenterOfMassTransform(((jmeMotionState*) body->getMotionState())->worldTransform); in Java_com_jme3_bullet_objects_PhysicsRigidBody_setPhysicsLocation()
117 body->setCenterOfMassTransform(((jmeMotionState*) body->getMotionState())->worldTransform); in Java_com_jme3_bullet_objects_PhysicsRigidBody_setPhysicsRotation__JLcom_jme3_math_Matrix3f_2()
142 body->setCenterOfMassTransform(((jmeMotionState*) body->getMotionState())->worldTransform); in Java_com_jme3_bullet_objects_PhysicsRigidBody_setPhysicsRotation__JLcom_jme3_math_Quaternion_2()
/external/libgdx/extensions/gdx-bullet/jni/swig-src/collision/com/badlogic/gdx/physics/bullet/collision/
DCollisionObjectWrapper.java78 …, btCollisionShape shape, btCollisionObject collisionObject, Matrix4 worldTransform, int partId, i… in CollisionObjectWrapper() argument
79 … shape, btCollisionObject.getCPtr(collisionObject), collisionObject, worldTransform, partId, index… in CollisionObjectWrapper() local
82 …t, btCollisionShape shape, btCollisionObject collisionObject, Matrix4 worldTransform, int partId) { in CollisionObjectWrapper() argument
83 … shape, btCollisionObject.getCPtr(collisionObject), collisionObject, worldTransform, partId), true… in CollisionObjectWrapper() local
86 …rapper parent, btCollisionShape shape, btCollisionObject collisionObject, Matrix4 worldTransform) { in CollisionObjectWrapper() argument
87 …shape), shape, btCollisionObject.getCPtr(collisionObject), collisionObject, worldTransform), true); in CollisionObjectWrapper() local
90 …r(btCollisionShape shape, btCollisionObject collisionObject, Matrix4 worldTransform, int partId, i… in CollisionObjectWrapper() argument
91 … shape, btCollisionObject.getCPtr(collisionObject), collisionObject, worldTransform, partId, index… in CollisionObjectWrapper() local
94 …er(btCollisionShape shape, btCollisionObject collisionObject, Matrix4 worldTransform, int partId) { in CollisionObjectWrapper() argument
95 … shape, btCollisionObject.getCPtr(collisionObject), collisionObject, worldTransform, partId), true… in CollisionObjectWrapper() local
[all …]
DbtCollisionWorld.java109 public void debugDrawObject(Matrix4 worldTransform, btCollisionShape shape, Vector3 color) { in debugDrawObject() argument
110 …CollisionJNI.btCollisionWorld_debugDrawObject(swigCPtr, this, worldTransform, btCollisionShape.get… in debugDrawObject()
/external/libgdx/extensions/gdx-bullet/jni/src/custom/gdx/collision/
DCollisionObjectWrapper.h28 …lisionShape* shape, btCollisionObject* collisionObject, btTransform& worldTransform, int partId=-1…
29 wrapper(parent, shape, collisionObject, worldTransform, partId, index) {} in wrapper() argument
31 …lisionShape* shape, btCollisionObject* collisionObject, btTransform& worldTransform, int partId=-1…
32 wrapper(0, shape, collisionObject, worldTransform, partId, index) {}
/external/jmonkeyengine/engine/src/core/com/jme3/scene/
DSpatial.java143 protected Transform worldTransform; field in Spatial
167 worldTransform = new Transform(); in Spatial()
322 return worldTransform.getRotation(); in getWorldRotation()
333 return worldTransform.getTranslation(); in getWorldTranslation()
344 return worldTransform.getScale(); in getWorldScale()
355 return worldTransform; in getWorldTransform()
449 worldTransform.set(localTransform); in updateWorldTransforms()
454 worldTransform.set(localTransform); in updateWorldTransforms()
455 worldTransform.combineWithParent(parent.worldTransform); in updateWorldTransforms()
470 worldTransform.set(localTransform); in checkDoTransformUpdate()
[all …]
DGeometry.java284 worldBound = mesh.getBound().transform(worldTransform, worldBound); in updateWorldBound()
392 cachedWorldMat.setRotationQuaternion(worldTransform.getRotation()); in computeWorldMatrix()
393 cachedWorldMat.setTranslation(worldTransform.getTranslation()); in computeWorldMatrix()
398 scaleMat.scale(worldTransform.getScale()); in computeWorldMatrix()
/external/libgdx/gdx/src/com/badlogic/gdx/graphics/g3d/
DRenderable.java68 public final Matrix4 worldTransform = new Matrix4(); field in Renderable
91 worldTransform.set(renderable.worldTransform); in set()
DModelInstance.java349 out.worldTransform.set(transform).mul(node.globalTransform); in getRenderable()
351 out.worldTransform.set(transform); in getRenderable()
353 out.worldTransform.idt(); in getRenderable()
DModelCache.java243 result.worldTransform.idt(); in obtainRenderable()
298 meshBuilder.setVertexTransform(renderable.worldTransform); in end()
/external/libgdx/gdx/src/com/badlogic/gdx/scenes/scene2d/
DGroup.java39 private final Affine2 worldTransform = new Affine2(); field in Group
183 Affine2 worldTransform = this.worldTransform; in computeTransform() local
185 worldTransform.setToTrnRotScl(x + originX, y + originY, rotation, scaleX, scaleY); in computeTransform()
186 if (originX != 0 || originY != 0) worldTransform.translate(-originX, -originY); in computeTransform()
194 if (parentGroup != null) worldTransform.preMul(parentGroup.worldTransform); in computeTransform()
196 computedTransform.set(worldTransform); in computeTransform()
/external/libgdx/extensions/gdx-bullet/jni/src/bullet/BulletCollision/CollisionDispatch/
DbtCollisionObjectWrapper.h33 … shape, const btCollisionObject* collisionObject, const btTransform& worldTransform, int partId, i… in btCollisionObjectWrapper()
34 …rent(parent), m_shape(shape), m_collisionObject(collisionObject), m_worldTransform(worldTransform), in btCollisionObjectWrapper()
DbtCollisionWorld.cpp1246 void btCollisionWorld::debugDrawObject(const btTransform& worldTransform, const btCollisionShape* s… in debugDrawObject() argument
1251 getDebugDrawer()->drawTransform(worldTransform,1); in debugDrawObject()
1261 debugDrawObject(worldTransform*childTrans,colShape,color); in debugDrawObject()
1274 getDebugDrawer()->drawBox(-halfExtents,halfExtents,worldTransform,color); in debugDrawObject()
1283 getDebugDrawer()->drawSphere(radius, worldTransform, color); in debugDrawObject()
1296 …getDebugDrawer()->drawSphere(multiSphereShape->getSphereRadius(i), worldTransform*childTransform, … in debugDrawObject()
1309 getDebugDrawer()->drawCapsule(radius, halfHeight, upAxis, worldTransform, color); in debugDrawObject()
1319 getDebugDrawer()->drawCone(radius, height, upAxis, worldTransform, color); in debugDrawObject()
1329 getDebugDrawer()->drawCylinder(radius, halfHeight, upAxis, worldTransform, color); in debugDrawObject()
1338 getDebugDrawer()->drawPlane(planeNormal, planeConst,worldTransform, color); in debugDrawObject()
[all …]
/external/libgdx/gdx/src/com/badlogic/gdx/graphics/g3d/utils/shapebuilders/
DRenderableShapeBuilder.java164 tmpV0.mul(renderable.worldTransform); in buildNormals()
165 tmpV2.mul(renderable.worldTransform); in buildNormals()
166 tmpV4.mul(renderable.worldTransform); in buildNormals()
167 tmpV6.mul(renderable.worldTransform); in buildNormals()
/external/libgdx/gdx/src/com/badlogic/gdx/graphics/g3d/utils/
DDefaultRenderableSorter.java47 o1.worldTransform.getTranslation(tmpV1); in compare()
48 o2.worldTransform.getTranslation(tmpV2); in compare()
DShapeCache.java131 return renderable.worldTransform; in getWorldTransform()
/external/libgdx/tests/gdx-tests/src/com/badlogic/gdx/tests/g3d/
DLightsTest.java65 pLight.worldTransform.setToScaling(s, s, s); in onLoaded()
81 pLight.worldTransform.setTranslation(pointLight.position); in render()
/external/libgdx/extensions/gdx-bullet/jni/src/bullet/BulletDynamics/ConstraintSolver/
DbtSolverBody.h125 void setWorldTransform(const btTransform& worldTransform) in ATTRIBUTE_ALIGNED16()
127 m_worldTransform = worldTransform; in ATTRIBUTE_ALIGNED16()
/external/jmonkeyengine/engine/src/blender/com/jme3/scene/plugins/blender/constraints/
DFeature.java165 …Transform worldTransform = new Transform(bone.getWorldBindPosition(), bone.getWorldBindRotation()); in getTransform() local
166 worldTransform.setScale(bone.getWorldBindScale()); in getTransform()
167 return worldTransform; in getTransform()
/external/jmonkeyengine/engine/src/jbullet/com/jme3/bullet/objects/
DVehicleWheel.java90 Converter.convert(wheelInfo.worldTransform.origin, wheelWorldLocation); in updatePhysicsState()
91 Converter.convert(wheelInfo.worldTransform.basis, tmp_Matrix); in updatePhysicsState()
/external/libgdx/tests/gdx-tests/src/com/badlogic/gdx/tests/bullet/
DOcclusionBuffer.java259 public void drawBB (Matrix4 worldTransform, Vector3 halfExt) { in drawBB() argument
262 worldTransform.getTranslation(center); in drawBB()
264 vertex.rot(worldTransform); in drawBB()
/external/libgdx/tests/gdx-tests/src/com/badlogic/gdx/tests/g3d/shadows/utils/
DAABBNearFarAnalyzer.java77 renderable.worldTransform.getTranslation(tmpV); in analyze()
/external/libgdx/gdx/src/com/badlogic/gdx/graphics/g3d/shaders/
DDefaultShader.java170 shader.set(inputID, renderable.worldTransform);
178 shader.set(inputID, temp.set(shader.camera.view).mul(renderable.worldTransform));
186 shader.set(inputID, temp.set(shader.camera.combined).mul(renderable.worldTransform));
194 shader.set(inputID, tmpM.set(renderable.worldTransform).inv().transpose());
355 renderable.worldTransform.getTranslation(tmpV1); in set()

12