/external/eigen/Eigen/src/Eigen2Support/Geometry/ |
Quaternion.h | 21 * \class Quaternion 23 * \brief The quaternion class used to represent 3D orientations and rotations 27 * This class represents a quaternion \f$ w+xi+yj+zk \f$ that is a convenient representation of 41 template<typename _Scalar> struct ei_traits<Quaternion<_Scalar> > 47 class Quaternion : public RotationBase<Quaternion<_Scalar>,3> 49 typedef RotationBase<Quaternion<_Scalar>,3> Base; 98 /** Default constructor leaving the quaternion uninitialized. */ 99 inline Quaternion() {} 101 /** Constructs and initializes the quaternion \f$ w+xi+yj+zk \f$ fro [all...] |
All.h | 13 #include "Quaternion.h" 29 #define Quaternion eigen2_Quaternion 66 #include "Quaternion.h" 84 #undef Quaternion
|
/external/libgdx/gdx/src/com/badlogic/gdx/graphics/g3d/model/data/ |
ModelNode.java | 19 import com.badlogic.gdx.math.Quaternion;
25 public Quaternion rotation;
|
ModelNodeAnimation.java | 19 import com.badlogic.gdx.math.Quaternion;
29 public Array<ModelNodeKeyframe<Quaternion>> rotation;
|
/external/libgdx/extensions/gdx-bullet/jni/swig/common/ |
gdxMathTypes.i | 18 CREATE_POOLED_METHODS(Quaternion, "com/badlogic/gdx/physics/bullet/linearmath/LinearMath"); 19 CREATE_POOLED_TYPEMAP(btQuaternion, Quaternion, "Lcom/badlogic/gdx/math/Quaternion;", Quaternion_to_btQuaternion, btQuaternion_to_Quaternion); 20 ENABLE_POOLED_TYPEMAP(btQuaternion, Quaternion, "Lcom/badlogic/gdx/math/Quaternion;");
|
gdxJavaImports.i | 9 import com.badlogic.gdx.math.Quaternion; 16 import com.badlogic.gdx.math.Quaternion; 24 import com.badlogic.gdx.math.Quaternion;
|
/external/libgdx/extensions/gdx-bullet/jni/swig-src/linearmath/com/badlogic/gdx/physics/bullet/linearmath/ |
btQuaternion.java | 13 import com.badlogic.gdx.math.Quaternion; 88 public float dot(Quaternion q) { 100 public Quaternion normalize() { 104 public Quaternion normalized() { 108 public float angle(Quaternion q) { 112 public float angleShortestPath(Quaternion q) { 128 public Quaternion inverse() { 132 public Quaternion farthest(Quaternion qd) { 136 public Quaternion nearest(Quaternion qd) [all...] |
LinearMath.java | 13 import com.badlogic.gdx.math.Quaternion; 30 /** Temporary Quaternion instance, used by native methods that return a Quaternion instance */ 31 public final static Quaternion staticQuaternion = new Quaternion(); 32 /** Pool of Quaternion, used by native (callback) method for the arguments */ 33 public final static com.badlogic.gdx.utils.Pool<Quaternion> poolQuaternion = new com.badlogic.gdx.utils.Pool<Quaternion>() { 35 protected Quaternion newObject() { 36 return new Quaternion(); [all...] |
btTransformUtil.java | 13 import com.badlogic.gdx.math.Quaternion; 64 public static void calculateVelocityQuaternion(Vector3 pos0, Vector3 pos1, Quaternion orn0, Quaternion orn1, float timeStep, Vector3 linVel, Vector3 angVel) { 68 public static void calculateDiffAxisAngleQuaternion(Quaternion orn0, Quaternion orn1a, Vector3 axis, SWIGTYPE_p_float angle) {
|
LinearMathConstants.java | 13 import com.badlogic.gdx.math.Quaternion;
|
btTransform.java | 13 import com.badlogic.gdx.math.Quaternion; 64 public btTransform(Quaternion q, Vector3 c) { 68 public btTransform(Quaternion q) { 96 public Quaternion getRotation() { 120 public void setRotation(Quaternion q) {
|
/external/libgdx/extensions/gdx-bullet/jni/swig-src/extras/com/badlogic/gdx/physics/bullet/extras/ |
Extras.java | 16 import com.badlogic.gdx.math.Quaternion; 33 /** Temporary Quaternion instance, used by native methods that return a Quaternion instance */ 34 public final static Quaternion staticQuaternion = new Quaternion(); 35 /** Pool of Quaternion, used by native (callback) method for the arguments */ 36 public final static com.badlogic.gdx.utils.Pool<Quaternion> poolQuaternion = new com.badlogic.gdx.utils.Pool<Quaternion>() { 38 protected Quaternion newObject() { 39 return new Quaternion(); [all...] |
/external/libgdx/gdx/src/com/badlogic/gdx/graphics/g3d/model/ |
NodeAnimation.java | 20 import com.badlogic.gdx.math.Quaternion;
25 * rotation quaternion and a scale vector. Keyframes are interpolated linearly for now. Keytimes are given in seconds.
33 public Array<NodeKeyframe<Quaternion>> rotation = null;
|
/frameworks/rs/java/tests/VrDemo/src/com/example/android/rs/vr/engine/ |
Quaternion.java | 19 * Generic Quaternion
23 public class Quaternion {
33 public void clone(Quaternion src) {
81 public Quaternion(double x0, double x1, double x2, double x3) {
88 public Quaternion conjugate() {
89 return new Quaternion(x[0], -x[1], -x[2], -x[3]);
92 public Quaternion plus(Quaternion b) {
93 Quaternion a = this;
94 return new Quaternion(a.x[0] + b.x[0], a.x[1] + b.x[1], a.x[2] + b.x[2], a.x[3] + b.x[3]); [all...] |
/external/libgdx/gdx/src/com/badlogic/gdx/graphics/g3d/particles/ |
ParticleControllerComponent.java | 6 import com.badlogic.gdx.math.Quaternion; 24 protected static final Quaternion TMP_Q = new Quaternion(), TMP_Q2 = new Quaternion();
|
/external/libgdx/extensions/gdx-bullet/jni/swig-src/dynamics/com/badlogic/gdx/physics/bullet/dynamics/ |
Dynamics.java | 15 import com.badlogic.gdx.math.Quaternion; 32 /** Temporary Quaternion instance, used by native methods that return a Quaternion instance */ 33 public final static Quaternion staticQuaternion = new Quaternion(); 34 /** Pool of Quaternion, used by native (callback) method for the arguments */ 35 public final static com.badlogic.gdx.utils.Pool<Quaternion> poolQuaternion = new com.badlogic.gdx.utils.Pool<Quaternion>() { 37 protected Quaternion newObject() { 38 return new Quaternion(); [all...] |
DynamicsConstants.java | 15 import com.badlogic.gdx.math.Quaternion;
|
/external/libgdx/gdx/src/com/badlogic/gdx/math/ |
Quaternion.java | 23 /** A simple quaternion class.
24 * @see <a href="http://en.wikipedia.org/wiki/Quaternion">http://en.wikipedia.org/wiki/Quaternion</a>
28 public class Quaternion implements Serializable {
30 private static Quaternion tmp1 = new Quaternion(0, 0, 0, 0);
31 private static Quaternion tmp2 = new Quaternion(0, 0, 0, 0);
38 /** Constructor, sets the four components of the quaternion.
43 public Quaternion (float x, float y, float z, float w) { [all...] |
/external/eigen/Eigen/src/Geometry/ |
Quaternion.h | 30 * \brief Base class for quaternion expressions 32 * \sa class Quaternion 102 /** \returns a quaternion representing an identity rotation 105 static inline Quaternion<Scalar> Identity() { return Quaternion<Scalar>(1, 0, 0, 0); } 111 /** \returns the squared norm of the quaternion's coefficients 116 /** \returns the norm of the quaternion's coefficients 121 /** Normalizes the quaternion \c *this 126 inline Quaternion<Scalar> normalized() const { return Quaternion<Scalar>(coeffs().normalized()); [all...] |
/external/libgdx/tests/gdx-tests/src/com/badlogic/gdx/tests/bullet/ |
OcclusionBuffer.java | 52 boolean evaluate (Quaternion[] vertices) { 60 for (Quaternion vertex : vertices) { 88 static class Quaternion extends com.badlogic.gdx.math.Quaternion { 89 /** Left-multiplies the quaternion by the given matrix. 92 public Quaternion mul (final Matrix4 matrix) { 100 /** Multiply the x,y,z,w components of the passed in quaternion with the scalar and add them to the components of this 101 * quaternion */ 102 public Quaternion mulAdd (final Quaternion quaternion, float scalar) [all...] |
/development/ndk/sources/android/ndk_helper/ |
tapCamera.h | 40 Quaternion quat_ball_now_; 41 Quaternion quat_ball_down_; 44 Quaternion quat_ball_rot_;
|
tapCamera.cpp | 75 quat_ball_rot_ = Quaternion(); 76 quat_ball_now_ = Quaternion(); 178 quat_ball_rot_ = Quaternion(); 272 //Update ration quaternion 277 quat_ball_rot_ = Quaternion( 0.f, 0.f, sinf( -camera_rotation_now_ * 0.5f ), 294 Quaternion qDrag = Quaternion( vec, w );
|
/external/libgdx/extensions/gdx-bullet/jni/swig-src/softbody/com/badlogic/gdx/physics/bullet/softbody/ |
SoftbodyConstants.java | 16 import com.badlogic.gdx.math.Quaternion;
|
/external/eigen/Eigen/src/Geometry/arch/ |
Geometry_SSE.h | 21 static inline Quaternion<float> run(const QuaternionBase<Derived>& _a, const QuaternionBase<OtherDerived>& _b) 24 Quaternion<float> res; 62 static inline Quaternion<double> run(const QuaternionBase<Derived>& _a, const QuaternionBase<OtherDerived>& _b) 66 Quaternion<double> res;
|
/external/libgdx/extensions/gdx-bullet/jni/swig/extras/ |
extras.i | 23 import com.badlogic.gdx.math.Quaternion; 33 import com.badlogic.gdx.math.Quaternion; 44 import com.badlogic.gdx.math.Quaternion;
|