Home
last modified time | relevance | path

Searched refs:zAxis (Results 1 – 9 of 9) sorted by relevance

/external/libgdx/extensions/gdx-bullet/jni/src/bullet/BulletDynamics/ConstraintSolver/
DbtUniversalConstraint.cpp45 btVector3 zAxis = m_axis1.normalize(); in btUniversalConstraint() local
47 btVector3 xAxis = yAxis.cross(zAxis); // we want right coordinate system in btUniversalConstraint()
50 frameInW.getBasis().setValue( xAxis[0], yAxis[0], zAxis[0], in btUniversalConstraint()
51 xAxis[1], yAxis[1], zAxis[1], in btUniversalConstraint()
52 xAxis[2], yAxis[2], zAxis[2]); in btUniversalConstraint()
69 btVector3 zAxis = axis1.normalized(); in setAxis() local
71 btVector3 xAxis = yAxis.cross(zAxis); // we want right coordinate system in setAxis()
75 frameInW.getBasis().setValue( xAxis[0], yAxis[0], zAxis[0], in setAxis()
76 xAxis[1], yAxis[1], zAxis[1], in setAxis()
77 xAxis[2], yAxis[2], zAxis[2]); in setAxis()
DbtHinge2Constraint.cpp42 btVector3 zAxis = axis1.normalize(); in btHinge2Constraint() local
44 btVector3 yAxis = zAxis.cross(xAxis); // we want right coordinate system in btHinge2Constraint()
47 frameInW.getBasis().setValue( xAxis[0], yAxis[0], zAxis[0], in btHinge2Constraint()
48 xAxis[1], yAxis[1], zAxis[1], in btHinge2Constraint()
49 xAxis[2], yAxis[2], zAxis[2]); in btHinge2Constraint()
DbtGeneric6DofSpringConstraint.cpp167 btVector3 zAxis = axis1.normalized(); in setAxis() local
169 btVector3 xAxis = yAxis.cross(zAxis); // we want right coordinate system in setAxis()
173 frameInW.getBasis().setValue( xAxis[0], yAxis[0], zAxis[0], in setAxis()
174 xAxis[1], yAxis[1], zAxis[1], in setAxis()
175 xAxis[2], yAxis[2], zAxis[2]); in setAxis()
DbtGeneric6DofConstraint.cpp1048 btVector3 zAxis = axis1.normalized(); in setAxis() local
1050 btVector3 xAxis = yAxis.cross(zAxis); // we want right coordinate system in setAxis()
1054 frameInW.getBasis().setValue( xAxis[0], yAxis[0], zAxis[0], in setAxis()
1055 xAxis[1], yAxis[1], zAxis[1], in setAxis()
1056 xAxis[2], yAxis[2], zAxis[2]); in setAxis()
DbtGeneric6DofSpring2Constraint.cpp948 btVector3 zAxis = axis1.normalized(); in setAxis() local
950 btVector3 xAxis = yAxis.cross(zAxis); // we want right coordinate system in setAxis()
954 frameInW.getBasis().setValue( xAxis[0], yAxis[0], zAxis[0], in setAxis()
955 xAxis[1], yAxis[1], zAxis[1], in setAxis()
956 xAxis[2], yAxis[2], zAxis[2]); in setAxis()
/external/skia/tests/
DPoint3Test.cpp53 const SkPoint3 zAxis = SkPoint3::Make(0.0f, 0.0f, 1.0f); in test_dot() local
58 dot = yAxis.dot(zAxis); in test_dot()
61 dot = zAxis.dot(xAxis); in test_dot()
/external/jmonkeyengine/engine/src/core/com/jme3/math/
DQuaternion.java899 public Quaternion fromAxes(Vector3f xAxis, Vector3f yAxis, Vector3f zAxis) { in fromAxes() argument
900 return fromRotationMatrix(xAxis.x, yAxis.x, zAxis.x, xAxis.y, yAxis.y, in fromAxes()
901 zAxis.y, xAxis.z, yAxis.z, zAxis.z); in fromAxes()
/external/libgdx/gdx/src/com/badlogic/gdx/math/
DMatrix4.java256 public Matrix4 set (Vector3 xAxis, Vector3 yAxis, Vector3 zAxis, Vector3 pos) { in set() argument
263 val[M20] = zAxis.x; in set()
264 val[M21] = zAxis.y; in set()
265 val[M22] = zAxis.z; in set()
/external/libgdx/backends/gdx-backends-gwt/src/com/badlogic/gdx/backends/gwt/emu/com/badlogic/gdx/math/
DMatrix4.java273 public Matrix4 set (Vector3 xAxis, Vector3 yAxis, Vector3 zAxis, Vector3 pos) { in set() argument
280 val[M20] = zAxis.x; in set()
281 val[M21] = zAxis.y; in set()
282 val[M22] = zAxis.z; in set()