/external/eigen/demos/opengl/ |
trackball.cpp | 24 Vector3f axis = mLastPoint3D.cross(newPoint3D).normalized(); local 30 mpCamera->rotateAroundTarget(Quaternionf(AngleAxisf(angle, axis))); 32 mpCamera->localRotate(Quaternionf(AngleAxisf(-angle, axis)));
|
/external/jmonkeyengine/engine/src/bullet/com/jme3/bullet/collision/shapes/ |
ConeCollisionShape.java | 24 protected int axis; field in class:ConeCollisionShape 29 public ConeCollisionShape(float radius, float height, int axis) { 32 this.axis = axis; 39 this.axis = PhysicsSpace.AXIS_Y; 52 capsule.write(axis, "axis", 0.5f); 60 radius = capsule.readFloat("axis", 0.5f); 65 objectId = createShape(axis, radius, height); 67 // if (axis == PhysicsSpace.AXIS_X) [all...] |
CylinderCollisionShape.java | 50 protected int axis; field in class:CylinderCollisionShape 61 this.axis = 2; 66 * Creates a cylinder shape around the given axis from the given halfextents 68 * @param axis (0=X,1=Y,2=Z) 70 public CylinderCollisionShape(Vector3f halfExtents, int axis) { 72 this.axis = axis; 81 return axis; 88 capsule.write(axis, "axis", 1) [all...] |
CapsuleCollisionShape.java | 48 protected int axis; field in class:CapsuleCollisionShape 61 this.axis=1; 66 * creates a capsule shape around the given axis (0=X,1=Y,2=Z) 69 * @param axis 71 public CapsuleCollisionShape(float radius, float height, int axis) { 74 this.axis=axis; 87 return axis; 95 capsule.write(axis, "axis", 1) [all...] |
/external/jmonkeyengine/engine/src/core/com/jme3/collision/bih/ |
TriangleAxisComparator.java | 40 private final int axis; field in class:TriangleAxisComparator 42 public TriangleAxisComparator(int axis){ 43 this.axis = axis; 50 switch (axis){
|
/external/apache-xml/src/main/java/org/apache/xpath/axes/ |
WalkingIteratorSorted.java | 23 import org.apache.xml.dtm.Axis; 104 int axis = walker.getAxis(); local 108 boolean isSimpleDownAxis = ((axis == Axis.CHILD) 109 || (axis == Axis.SELF) 110 || (axis == Axis.ROOT)); 113 if(isSimpleDownAxis || (axis == -1)) 120 if(walker.isDocOrdered() && (axis == Axis.DESCENDANT || [all...] |
AxesWalker.java | 50 public AxesWalker(LocPathIterator locPathIterator, int axis) 53 m_axis = axis; 205 int axis = getAxis(); local 206 int bit = WalkerFactory.getAnalysisBitFromAxes(axis); 501 * Returns the axis being iterated, if it is known. 503 * @return Axis.CHILD, etc., or -1 if the axis is not known or is of multiple 585 /** The traversal axis from where the nodes will be filtered. */ 588 /** The DTM inner traversal class, that corresponds to the super axis. */
|
/external/apache-xml/src/main/java/org/apache/xpath/patterns/ |
ContextMatchStepPattern.java | 23 import org.apache.xml.dtm.Axis; 41 public ContextMatchStepPattern(int axis, int paxis) 43 super(DTMFilter.SHOW_ALL, axis, paxis); 99 int axis = m_axis; local 101 boolean needToTraverseAttrs = WalkerFactory.isDownwardAxisOfMany(axis); 105 if((Axis.PRECEDING == axis) && iterRootIsAttr) 107 axis = Axis.PRECEDINGANDANCESTOR; 110 traverser = dtm.getAxisTraverser(axis); [all...] |
/external/jmonkeyengine/engine/src/jbullet/com/jme3/bullet/collision/shapes/ |
ConeCollisionShape.java | 26 protected int axis; field in class:ConeCollisionShape 31 public ConeCollisionShape(float radius, float height, int axis) { 34 this.axis = axis; 41 this.axis = PhysicsSpace.AXIS_Y; 54 capsule.write(axis, "axis", 0.5f); 62 radius = capsule.readFloat("axis", 0.5f); 67 if (axis == PhysicsSpace.AXIS_X) { 69 } else if (axis == PhysicsSpace.AXIS_Y) [all...] |
CylinderCollisionShape.java | 52 protected int axis; field in class:CylinderCollisionShape 63 this.axis = 2; 68 * Creates a cylinder shape around the given axis from the given halfextents 70 * @param axis (0=X,1=Y,2=Z) 72 public CylinderCollisionShape(Vector3f halfExtents, int axis) { 74 this.axis = axis; 83 return axis; 90 capsule.write(axis, "axis", 1) [all...] |
CapsuleCollisionShape.java | 50 protected int axis; field in class:CapsuleCollisionShape 63 this.axis=1; 69 * creates a capsule shape around the given axis (0=X,1=Y,2=Z) 72 * @param axis 74 public CapsuleCollisionShape(float radius, float height, int axis) { 77 this.axis=axis; 90 return axis; 98 capsule.write(axis, "axis", 1) [all...] |
/frameworks/wilhelm/src/itf/ |
I3DLocation.c | 220 SLVec3D axis = *pAxis; local 221 // NTH Check that axis is not (close to) zero vector, length does not matter 231 thiz->mAxis = axis;
|
I3DMacroscopic.c | 129 SLVec3D axis = *pAxis; local 130 // NTH Check that axis is not (close to) zero vector, length does not matter 136 thiz->mAxis = axis;
|
/external/droiddriver/src/io/appium/droiddriver/scroll/ |
StepBasedScroller.java | 27 import io.appium.droiddriver.scroll.Direction.Axis; 44 private final Axis axis; field in class:StepBasedScroller 54 * @param axis the axis this scroller can scroll 61 public StepBasedScroller(int maxScrolls, long perScrollTimeoutMillis, Axis axis, 65 this.axis = axis; 72 * perScrollTimeoutMillis, vertical axis, not startFromBegining [all...] |
Direction.java | 53 public Axis axis() { method 54 return Axis.VERTICAL; 64 public Axis axis() { method 65 return Axis.VERTICAL; 75 public Axis axis() { method 76 return Axis.HORIZONTAL; 86 public Axis axis() method 92 public abstract Axis axis(); method in class:Direction.PhysicalDirection [all...] |
/external/eigen/Eigen/src/Eigen2Support/Geometry/ |
AngleAxis.h | 18 * \brief Represents a 3D rotation as a rotation angle around an arbitrary 3D axis 70 /** Constructs and initialize the angle-axis rotation from an \a angle in radian 71 * and an \a axis which must be normalized. */ 73 inline AngleAxis(Scalar angle, const MatrixBase<Derived>& axis) : m_axis(axis), m_angle(angle) {} 74 /** Constructs and initialize the angle-axis rotation from a quaternion \a q. */ 76 /** Constructs and initialize the angle-axis rotation from a 3x3 rotation matrix. */ 83 const Vector3& axis() const { return m_axis; } function in class:Eigen::AngleAxis 84 Vector3& axis() { return m_axis; } function in class:Eigen::AngleAxis 110 /** \returns the inverse rotation, i.e., an angle-axis with opposite rotation angle * [all...] |
/external/freetype/include/ |
ftmm.h | 44 /* setting design axis coordinates. */ 61 /* A simple structure used to model a given axis in design space for */ 67 /* name :: The axis's name. */ 69 /* minimum :: The axis's minimum design coordinate. */ 71 /* maximum :: The axis's maximum design coordinate. */ 101 /* axis :: A table of axis descriptors. */ 107 FT_MM_Axis axis[T1_MAX_MM_AXIS]; member in struct:FT_Multi_Master_ 118 /* A simple structure used to model a given axis in design space for */ 122 /* name :: The axis's name. * 215 FT_Var_Axis* axis; member in struct:FT_MM_Var_ [all...] |
/external/pdfium/third_party/freetype/include/ |
ftmm.h | 44 /* setting design axis coordinates. */ 61 /* A simple structure used to model a given axis in design space for */ 67 /* name :: The axis's name. */ 69 /* minimum :: The axis's minimum design coordinate. */ 71 /* maximum :: The axis's maximum design coordinate. */ 101 /* axis :: A table of axis descriptors. */ 107 FT_MM_Axis axis[T1_MAX_MM_AXIS]; member in struct:FT_Multi_Master_ 118 /* A simple structure used to model a given axis in design space for */ 122 /* name :: The axis's name. * 215 FT_Var_Axis* axis; member in struct:FT_MM_Var_ [all...] |
/frameworks/native/include/input/ |
KeyLayoutMap.h | 30 // Axis value is reported directly. 32 // Axis value should be inverted before reporting. 34 // Axis value should be split into two axes 38 // Axis mode. 41 // Axis id. 42 // When split, this is the axis used for values smaller than the split position. 43 int32_t axis; member in struct:android::AxisInfo 45 // When split, this is the axis used for values after higher than the split position. 54 AxisInfo() : mode(MODE_NORMAL), axis(-1), highAxis(-1), splitValue(0), flatOverride(-1) {
|
/external/eigen/Eigen/src/Geometry/ |
AngleAxis.h | 19 * \brief Represents a 3D rotation as a rotation angle around an arbitrary 3D axis 23 * \warning When setting up an AngleAxis object, the axis vector \b must \b be \b normalized. 73 /** Constructs and initialize the angle-axis rotation from an \a angle in radian 74 * and an \a axis which \b must \b be \b normalized. 76 * \warning If the \a axis vector is not normalized, then the angle-axis object 79 inline AngleAxis(const Scalar& angle, const MatrixBase<Derived>& axis) : m_axis(axis), m_angle(angle) {} 80 /** Constructs and initialize the angle-axis rotation from a quaternion \a q. */ 82 /** Constructs and initialize the angle-axis rotation from a 3x3 rotation matrix. * 89 const Vector3& axis() const { return m_axis; } function in class:Eigen::AngleAxis 90 Vector3& axis() { return m_axis; } function in class:Eigen::AngleAxis [all...] |
/external/freetype/src/autofit/ |
afcjk.h | 99 AF_CJKAxisRec axis[AF_DIMENSION_MAX]; member in struct:AF_CJKMetricsRec_
|
afloader.c | 164 AF_AxisHints axis = &hints->axis[AF_DIMENSION_HORZ]; local 165 AF_Edge edge1 = axis->edges; /* leftmost edge */ 167 axis->num_edges - 1; /* rightmost edge */ 170 if ( axis->num_edges > 1 && AF_HINTS_DO_ADVANCE( hints ) )
|
afwarp.c | 168 AF_AxisHints axis; local 199 axis = &hints->axis[dim]; 200 segments = axis->segments; 201 num_segments = axis->num_segments;
|
/external/jmonkeyengine/engine/src/test/jme3test/bullet/ |
TestRagDoll.java | 90 int axis = rotate ? PhysicsSpace.AXIS_X : PhysicsSpace.AXIS_Y; local 91 CapsuleCollisionShape shape = new CapsuleCollisionShape(width, height, axis);
|
/external/jmonkeyengine/engine/src/ogre/com/jme3/scene/plugins/ogre/ |
SkeletonLoader.java | 82 private Vector3f axis; field in class:SkeletonLoader 89 } else if (qName.equals("axis")) { 92 axis = SAXUtil.parseVector3(attribs); 144 } else if (qName.equals("axis")) { 147 axis.normalizeLocal(); 148 rotation.fromAngleNormalAxis(angle, axis); 150 axis = null; 250 axis = null;
|