HomeSort by relevance Sort by last modified time
    Searched defs:Quaternion (Results 1 - 7 of 7) sorted by null

  /external/eigen/Eigen/src/Eigen2Support/Geometry/
All.h 13 #include "Quaternion.h"
29 #define Quaternion eigen2_Quaternion
66 #include "Quaternion.h"
84 #undef Quaternion
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...]
  /development/ndk/sources/android/ndk_helper/
vecmath.h 53 friend class Quaternion;
257 friend class Quaternion;
498 friend class Quaternion;
754 friend class Quaternion;
958 * Quaternion class
961 class Quaternion
971 Quaternion()
979 Quaternion( const float fX, const float fY, const float fZ, const float fW )
987 Quaternion( const Vec3 vec, const float fW )
995 Quaternion( const float* p
    [all...]
  /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/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/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/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...]

Completed in 116 milliseconds