/external/chromium-trace/catapult/tracing/third_party/gl-matrix/spec/gl-matrix/ |
D | quat-spec.js | 24 var quat = require("../../src/gl-matrix/quat.js"); 42 result = quat.slerp(out, [0, 0, 0, 1], [0, 1, 0, 0], 0.5); 53 result = quat.slerp(out, [0, 0, 0, 1], [0, 0, 0, 1], 0.5); 64 quat.rotateX(quatA, [1,0,0,0], Math.PI); // 180 deg 65 result = quat.slerp(out, [1,0,0,0], quatA, 1); 75 result = quat.slerp(out, [1, 0, 0, 0], [-1, 0, 0, 0], 0.5); 87 result = quat.rotateX(out, id, deg90); 99 result = quat.rotateY(out, id, deg90); 111 result = quat.rotateZ(out, id, deg90); 129 result = quat.fromMat3(out, matr); [all …]
|
/external/chromium-trace/catapult/tracing/third_party/gl-matrix/src/gl-matrix/ |
D | quat.js | 30 var quat = {}; variable 37 quat.create = function() { 57 quat.rotationTo = (function() { 69 quat.setAxisAngle(out, tmpvec3, Math.PI); 83 return quat.normalize(out, out); 98 quat.setAxes = (function() { 114 return quat.normalize(out, quat.fromMat3(out, matr)); 125 quat.clone = vec4.clone; 137 quat.fromValues = vec4.fromValues; 147 quat.copy = vec4.copy; [all …]
|
/external/jmonkeyengine/engine/src/core-data/Common/ShaderLib/ |
D | Math.glsllib | 2 vec3 Math_QuaternionMult(in vec4 quat, in vec3 vec){ 3 return vec + 2.0 * cross(quat.xyz, cross(quat.xyz, vec) + quat.w * vec);
|
/external/jmonkeyengine/engine/src/blender/com/jme3/scene/plugins/blender/animations/ |
D | BoneContext.java | 136 DynamicArray<Number> quat = (DynamicArray<Number>) poseChannel.getFieldValue("quat"); in computePoseTransform() local 139 …ansform.setRotation(new Quaternion(quat.get(1).floatValue(), quat.get(3).floatValue(), -quat.get(2… in computePoseTransform() 143 …ansform.setRotation(new Quaternion(quat.get(0).floatValue(), quat.get(1).floatValue(), quat.get(2)… in computePoseTransform()
|
/external/vulkan-validation-layers/demos/ |
D | linmath.h | 437 typedef float quat[4]; typedef 438 static inline void quat_identity(quat q) { in quat_identity() 442 static inline void quat_add(quat r, quat a, quat b) { in quat_add() 447 static inline void quat_sub(quat r, quat a, quat b) { in quat_sub() 452 static inline void quat_mul(quat r, quat p, quat q) { in quat_mul() 461 static inline void quat_scale(quat r, quat v, float s) { in quat_scale() 466 static inline float quat_inner_product(quat a, quat b) { in quat_inner_product() 473 static inline void quat_conj(quat r, quat q) { in quat_conj() 480 static inline void quat_mul_vec3(vec3 r, quat q, vec3 v) { in quat_mul_vec3() 481 quat v_ = {v[0], v[1], v[2], 0.f}; in quat_mul_vec3() [all …]
|
/external/libgdx/gdx/src/com/badlogic/gdx/math/ |
D | Matrix4.java | 701 static Quaternion quat = new Quaternion(); field in Matrix4 714 return set(quat.set(axis, degrees)); in setToRotation() 727 return set(quat.setFromAxisRad(axis, radians)); in setToRotationRad() 742 return set(quat.setFromAxis(axisX, axisY, axisZ, degrees)); in setToRotation() 757 return set(quat.setFromAxisRad(axisX, axisY, axisZ, radians)); in setToRotationRad() 765 return set(quat.setFromCross(v1, v2)); in setToRotation() 777 return set(quat.setFromCross(x1, y1, z1, x2, y2, z2)); in setToRotation() 786 quat.setEulerAngles(yaw, pitch, roll); in setFromEulerAngles() 787 return set(quat); in setFromEulerAngles() 796 quat.setEulerAnglesRad(yaw, pitch, roll); in setFromEulerAnglesRad() [all …]
|
D | Vector3.java | 390 public Vector3 mul (final Quaternion quat) { in mul() argument 391 return quat.transform(this); in mul()
|
/external/jmonkeyengine/engine/src/core/com/jme3/math/ |
D | Transform.java | 151 public Quaternion getRotation(Quaternion quat) { in getRotation() argument 152 if (quat==null) quat=new Quaternion(); in getRotation() 153 quat.set(rot); in getRotation() 154 return quat; in getRotation()
|
D | Matrix4f.java | 1709 Quaternion quat = new Quaternion(); in toRotationQuat() local 1710 quat.fromRotationMatrix(toRotationMatrix()); in toRotationQuat() 1711 return quat; in toRotationQuat() 1860 public void setRotationQuaternion(Quaternion quat) { in setRotationQuaternion() argument 1861 quat.toRotationMatrix(this); in setRotationQuaternion()
|
/external/jmonkeyengine/engine/src/core/com/jme3/material/ |
D | MatParam.java | 248 Quaternion quat = (Quaternion) value; in getValueAsString() local 249 return quat.getX() + " " + quat.getY() + " " in getValueAsString() 250 + quat.getZ() + " " + quat.getW(); in getValueAsString()
|
/external/eigen/bench/ |
D | geometry.cpp | 104 Quaternion<Scalar> quat;quat.setIdentity(); in main() local 105 ToRotationMatrixWrapper<Quaternion<Scalar> > quatmat(quat); in main() 119 bench("quaternion", quat); in main()
|
/external/chromium-trace/catapult/tracing/third_party/gl-matrix/dist/ |
D | gl-matrix.js | 117 exports.quat = __webpack_require__(6); 2704 var quat = {}; 2711 quat.create = function() { 2731 quat.rotationTo = (function() { 2743 quat.setAxisAngle(out, tmpvec3, Math.PI); 2757 return quat.normalize(out, out); 2772 quat.setAxes = (function() { 2788 return quat.normalize(out, quat.fromMat3(out, matr)); 2799 quat.clone = vec4.clone; 2811 quat.fromValues = vec4.fromValues; [all …]
|
/external/libgdx/backends/gdx-backends-gwt/src/com/badlogic/gdx/backends/gwt/emu/com/badlogic/gdx/math/ |
D | Matrix4.java | 779 static Quaternion quat = new Quaternion(); field in Matrix4 792 return set(quat.set(axis, degrees)); in setToRotation() 805 return set(quat.setFromAxisRad(axis, radians)); in setToRotationRad() 820 return set(quat.setFromAxis(axisX, axisY, axisZ, degrees)); in setToRotation() 835 return set(quat.setFromAxisRad(axisX, axisY, axisZ, radians)); in setToRotationRad() 843 return set(quat.setFromCross(v1, v2)); in setToRotation() 855 return set(quat.setFromCross(x1, y1, z1, x2, y2, z2)); in setToRotation() 864 quat.setEulerAngles(yaw, pitch, roll); in setFromEulerAngles() 865 return set(quat); in setFromEulerAngles() 874 quat.setEulerAnglesRad(yaw, pitch, roll); in setFromEulerAnglesRad() [all …]
|
/external/jmonkeyengine/engine/src/bullet/com/jme3/bullet/objects/ |
D | PhysicsGhostObject.java | 188 Quaternion quat = new Quaternion(); in getPhysicsRotation() local 189 getPhysicsRotation(objectId, quat); in getPhysicsRotation() 190 return quat; in getPhysicsRotation()
|
D | PhysicsRigidBody.java | 222 Quaternion quat = new Quaternion(); in getPhysicsRotation() local 223 getPhysicsRotation(objectId, quat); in getPhysicsRotation() 224 return quat; in getPhysicsRotation()
|
/external/libgdx/gdx/src/com/badlogic/gdx/graphics/ |
D | Camera.java | 140 public void rotate (final Quaternion quat) { in rotate() argument 141 quat.transform(direction); in rotate() 142 quat.transform(up); in rotate()
|
/external/libgdx/extensions/gdx-bullet/jni/src/bullet/BulletDynamics/Featherstone/ |
D | btMultiBody.cpp | 1996 void operator() (const btVector3 &omega, btQuaternion &quat, bool baseBody, btScalar dt) in stepPositionsMultiDof() 2005 angvel = quatRotate(quat, omega); //if quat is not m_baseQuat, it is alibi => ok in stepPositionsMultiDof() 2028 quat = btQuaternion(axis.x(),axis.y(),axis.z(),btCos( fAngle*dt*btScalar(0.5) )) * quat; in stepPositionsMultiDof() 2030 quat = quat * btQuaternion(-axis.x(),-axis.y(),-axis.z(),btCos( fAngle*dt*btScalar(0.5) )); in stepPositionsMultiDof() 2033 quat.normalize(); in stepPositionsMultiDof() 2416 …btScalar quat[4]={-world_to_local[index].x(),-world_to_local[index].y(),-world_to_local[index].z()… in forwardKinematics() local 2420 tr.setRotation(btQuaternion(quat[0],quat[1],quat[2],quat[3])); in forwardKinematics() 2439 …btScalar quat[4]={-world_to_local[0].x(),-world_to_local[0].y(),-world_to_local[0].z(),world_to_lo… in updateCollisionObjectWorldTransforms() local 2443 tr.setRotation(btQuaternion(quat[0],quat[1],quat[2],quat[3])); in updateCollisionObjectWorldTransforms() 2469 …btScalar quat[4]={-world_to_local[index].x(),-world_to_local[index].y(),-world_to_local[index].z()… in updateCollisionObjectWorldTransforms() local [all …]
|
/external/vulkan-validation-layers/libs/glm/gtx/ |
D | simd_quat.hpp | 109 quat const & v); 166 quat quat_cast(
|
D | simd_quat.inl | 58 GLM_FUNC_QUALIFIER fquatSIMD::fquatSIMD(quat const & q) : 221 GLM_FUNC_QUALIFIER quat quat_cast 226 GLM_ALIGN(16) quat Result; 469 // To fix this, one quat must be negated.
|
/external/llvm/test/CodeGen/ARM/ |
D | 2009-11-01-NeonMoves.ll | 8 define arm_aapcs_vfpcc void @bar(%foo* noalias sret %agg.result, <4 x float> %quat.0) nounwind { 12 store <4 x float> %quat.0, <4 x float>* %0
|
/external/chromium-trace/catapult/tracing/third_party/gl-matrix/src/ |
D | gl-matrix.js | 34 exports.quat = require("./gl-matrix/quat.js");
|
/external/jmonkeyengine/engine/src/core/com/jme3/util/ |
D | BufferUtils.java | 281 public static void setInBuffer(Quaternion quat, FloatBuffer buf, in setInBuffer() argument 284 buf.put(quat.getX()); in setInBuffer() 285 buf.put(quat.getY()); in setInBuffer() 286 buf.put(quat.getZ()); in setInBuffer() 287 buf.put(quat.getW()); in setInBuffer()
|
/external/vulkan-validation-layers/libs/glm/ |
D | fwd.hpp | 62 typedef highp_quat quat; typedef 64 typedef mediump_quat quat; typedef 66 typedef lowp_quat quat; typedef 69 typedef highp_quat quat; typedef 90 typedef quat fquat;
|
/external/eigen/Eigen/src/Geometry/ |
D | Quaternion.h | 623 Quaternion quat; 624 quat.setFromTwoVectors(a, b); 625 return quat;
|
/external/jmonkeyengine/engine/src/test/jme3test/bullet/ |
D | TestAttachDriver.java | 243 Quaternion quat=new Quaternion(); in simpleUpdate() local
|