/external/jmonkeyengine/engine/src/blender/com/jme3/scene/plugins/blender/constraints/ |
ConstraintRotLimit.java | 89 float[] angles = new float[3];
local 92 rotations[frame].toAngles(angles);
93 this.rotLimit(angles, ipo.calculateValue(frame));
94 rotations[frame].fromAngles(angles);
102 float[] angles = ownerTransform.getRotation().toAngles(null);
local 103 this.rotLimit(angles, ipo.calculateValue(0));
104 ownerTransform.getRotation().fromAngles(angles);
110 * This method computes new constrained angles.
112 * @param angles
113 * angles to be altered [all...] |
ConstraintRotLike.java | 62 float[] angles = new float[3];
local 64 rotations[frame].toAngles(angles);
65 this.rotLike(rotations[frame], angles, targetAngles, ipo.calculateValue(frame));
|
/external/chromium_org/third_party/skia/src/pathops/ |
SkPathOpsDebug.cpp | 86 void SkPathOpsDebug::DumpAngles(const SkTArray<SkOpAngle, true>& angles) { 87 int count = angles.count(); 89 angles[index].dump(); 93 void SkPathOpsDebug::DumpAngles(const SkTArray<SkOpAngle* , true>& angles) { 94 int count = angles.count(); 96 angles[index]->dump(); 140 void Dump(const SkTArray<class SkOpAngle, true>& angles) { 141 SkPathOpsDebug::DumpAngles(angles); 144 void Dump(const SkTArray<class SkOpAngle* , true>& angles) { 145 SkPathOpsDebug::DumpAngles(angles); [all...] |
SkPathOpsDebug.h | 163 static void DumpAngles(const SkTArray<class SkOpAngle, true>& angles); 164 static void DumpAngles(const SkTArray<class SkOpAngle* , true>& angles); 168 void Dump(const SkTArray<class SkOpAngle, true>& angles); 169 void Dump(const SkTArray<class SkOpAngle* , true>& angles); 170 void Dump(const SkTArray<class SkOpAngle, true>* angles); 171 void Dump(const SkTArray<class SkOpAngle* , true>* angles);
|
SkOpSegment.h | 234 bool activeAngle(int index, int* done, SkTArray<SkOpAngle, true>* angles); 254 SkTArray<SkOpAngle, true>* angles, SkTArray<SkOpAngle*, true>* sorted); 290 static bool SortAngles(const SkTArray<SkOpAngle, true>& angles, // FIXME: replace with 291 SkTArray<SkOpAngle*, true>* angleList, // Sort Angles 2 293 static bool SortAngles2(const SkTArray<SkOpAngle, true>& angles, 313 void debugShowSort(const char* fun, const SkTArray<SkOpAngle*, true>& angles, int first, 315 void debugShowSort(const char* fun, const SkTArray<SkOpAngle*, true>& angles, int first, 335 bool activeAngleOther(int index, int* done, SkTArray<SkOpAngle, true>* angles); 336 bool activeAngleInner(int index, int* done, SkTArray<SkOpAngle, true>* angles); 341 void addAngle(SkTArray<SkOpAngle, true>* angles, int start, int end) const [all...] |
SkPathOpsOp.cpp | 13 // other code that walks winding in angles 23 SkSTArray<SkOpAngle::kStackBasedCount, SkOpAngle, true> angles; local 25 if (segment->activeAngle(nextStart, &done, &angles)) { 26 SkOpAngle* last = angles.end() - 1; 36 if (done == angles.count()) { 40 bool sortable = SkOpSegment::SortAngles(angles, &sorted,
|
SkOpSegment.cpp | 40 // note that this follows the same logic flow as build angles 41 bool SkOpSegment::activeAngle(int index, int* done, SkTArray<SkOpAngle, true>* angles) { 42 if (activeAngleInner(index, done, angles)) { 49 if (activeAngleOther(lesser, done, angles)) { 54 if (activeAngleOther(index, done, angles)) { 68 bool SkOpSegment::activeAngleOther(int index, int* done, SkTArray<SkOpAngle, true>* angles) { 72 return other->activeAngleInner(oIndex, done, angles); 75 bool SkOpSegment::activeAngleInner(int index, int* done, SkTArray<SkOpAngle, true>* angles) { 80 addAngle(angles, index, next); 96 addAngle(angles, index, prev) 1523 SkSTArray<SkOpAngle::kStackBasedCount, SkOpAngle, true> angles; local 1654 SkSTArray<SkOpAngle::kStackBasedCount, SkOpAngle, true> angles; local 1782 SkSTArray<SkOpAngle::kStackBasedCount, SkOpAngle, true> angles; local [all...] |
SkPathOpsCommon.cpp | 121 SkSTArray<SkOpAngle::kStackBasedCount, SkOpAngle, true> angles; local 123 if (segment->activeAngle(tIndex, &done, &angles)) { 124 SkOpAngle* last = angles.end() - 1; 134 if (done == angles.count()) { 138 bool sortable = SkOpSegment::SortAngles(angles, &sorted, 316 SkSTArray<SkOpAngle::kStackBasedCount, SkOpAngle, true> angles; local 318 sumWinding = current->computeSum(index, endIndex, angleIncludeType, &angles, &sorted); 324 // the simple upward projection of the unresolved points hit unsortable angles 325 // shoot rays at right angles to the segment to find its winding, ignoring angle cases
|
/external/skia/src/pathops/ |
SkPathOpsDebug.cpp | 86 void SkPathOpsDebug::DumpAngles(const SkTArray<SkOpAngle, true>& angles) { 87 int count = angles.count(); 89 angles[index].dump(); 93 void SkPathOpsDebug::DumpAngles(const SkTArray<SkOpAngle* , true>& angles) { 94 int count = angles.count(); 96 angles[index]->dump(); 140 void Dump(const SkTArray<class SkOpAngle, true>& angles) { 141 SkPathOpsDebug::DumpAngles(angles); 144 void Dump(const SkTArray<class SkOpAngle* , true>& angles) { 145 SkPathOpsDebug::DumpAngles(angles); [all...] |
SkPathOpsDebug.h | 163 static void DumpAngles(const SkTArray<class SkOpAngle, true>& angles); 164 static void DumpAngles(const SkTArray<class SkOpAngle* , true>& angles); 168 void Dump(const SkTArray<class SkOpAngle, true>& angles); 169 void Dump(const SkTArray<class SkOpAngle* , true>& angles); 170 void Dump(const SkTArray<class SkOpAngle, true>* angles); 171 void Dump(const SkTArray<class SkOpAngle* , true>* angles);
|
SkOpSegment.h | 234 bool activeAngle(int index, int* done, SkTArray<SkOpAngle, true>* angles); 254 SkTArray<SkOpAngle, true>* angles, SkTArray<SkOpAngle*, true>* sorted); 290 static bool SortAngles(const SkTArray<SkOpAngle, true>& angles, // FIXME: replace with 291 SkTArray<SkOpAngle*, true>* angleList, // Sort Angles 2 293 static bool SortAngles2(const SkTArray<SkOpAngle, true>& angles, 313 void debugShowSort(const char* fun, const SkTArray<SkOpAngle*, true>& angles, int first, 315 void debugShowSort(const char* fun, const SkTArray<SkOpAngle*, true>& angles, int first, 335 bool activeAngleOther(int index, int* done, SkTArray<SkOpAngle, true>* angles); 336 bool activeAngleInner(int index, int* done, SkTArray<SkOpAngle, true>* angles); 341 void addAngle(SkTArray<SkOpAngle, true>* angles, int start, int end) const [all...] |
SkPathOpsOp.cpp | 13 // other code that walks winding in angles 23 SkSTArray<SkOpAngle::kStackBasedCount, SkOpAngle, true> angles; local 25 if (segment->activeAngle(nextStart, &done, &angles)) { 26 SkOpAngle* last = angles.end() - 1; 36 if (done == angles.count()) { 40 bool sortable = SkOpSegment::SortAngles(angles, &sorted,
|
SkOpSegment.cpp | 40 // note that this follows the same logic flow as build angles 41 bool SkOpSegment::activeAngle(int index, int* done, SkTArray<SkOpAngle, true>* angles) { 42 if (activeAngleInner(index, done, angles)) { 49 if (activeAngleOther(lesser, done, angles)) { 54 if (activeAngleOther(index, done, angles)) { 68 bool SkOpSegment::activeAngleOther(int index, int* done, SkTArray<SkOpAngle, true>* angles) { 72 return other->activeAngleInner(oIndex, done, angles); 75 bool SkOpSegment::activeAngleInner(int index, int* done, SkTArray<SkOpAngle, true>* angles) { 80 addAngle(angles, index, next); 96 addAngle(angles, index, prev) 1523 SkSTArray<SkOpAngle::kStackBasedCount, SkOpAngle, true> angles; local 1654 SkSTArray<SkOpAngle::kStackBasedCount, SkOpAngle, true> angles; local 1782 SkSTArray<SkOpAngle::kStackBasedCount, SkOpAngle, true> angles; local [all...] |
SkPathOpsCommon.cpp | 121 SkSTArray<SkOpAngle::kStackBasedCount, SkOpAngle, true> angles; local 123 if (segment->activeAngle(tIndex, &done, &angles)) { 124 SkOpAngle* last = angles.end() - 1; 134 if (done == angles.count()) { 138 bool sortable = SkOpSegment::SortAngles(angles, &sorted, 316 SkSTArray<SkOpAngle::kStackBasedCount, SkOpAngle, true> angles; local 318 sumWinding = current->computeSum(index, endIndex, angleIncludeType, &angles, &sorted); 324 // the simple upward projection of the unresolved points hit unsortable angles 325 // shoot rays at right angles to the segment to find its winding, ignoring angle cases
|
/external/jmonkeyengine/engine/src/core/com/jme3/math/ |
Quaternion.java | 160 * collection of rotation angles.
162 * @param angles
163 * the angles of rotation (x, y, z) that will define the
166 public Quaternion(float[] angles) {
167 fromAngles(angles);
220 * angles (y,r,p).
222 * @param angles
223 * the Euler angles of rotation (in radians).
225 public Quaternion fromAngles(float[] angles) {
226 if (angles.length != 3) { [all...] |
Matrix4f.java | [all...] |
/external/jmonkeyengine/engine/src/test/jme3test/bullet/ |
TestBoneRagdoll.java | 154 float[] angles = new float[3]; 155 model.getLocalRotation().toAngles(angles); 156 q.fromAngleAxis(angles[1], Vector3f.UNIT_Y); 158 if (angles[0] < 0) {
|
/external/skia/tests/ |
PathOpsAngleTest.cpp | 315 SkTDArray<SkOpAngle> angles; local 324 SkOpAngle* angle = angles.append(); 350 const SkOpAngle& first = angles[idxL]; 355 const SkOpAngle& second = angles[idxG];
|
/external/chromium_org/third_party/mesa/src/src/gallium/state_trackers/vega/ |
bezier.c | 447 float angles[2]; local 480 angles[i] = acos(cos_a)/M_PI; 483 if (angles[0] + angles[1] > 1.) { 487 angles[0] = 1. - angles[0]; 488 angles[1] = 1. - angles[1]; 502 float kappa = 2.*KAPPA * sign * offset * angles[i];
|
/external/mesa3d/src/gallium/state_trackers/vega/ |
bezier.c | 447 float angles[2]; local 480 angles[i] = acos(cos_a)/M_PI; 483 if (angles[0] + angles[1] > 1.) { 487 angles[0] = 1. - angles[0]; 488 angles[1] = 1. - angles[1]; 502 float kappa = 2.*KAPPA * sign * offset * angles[i];
|
/external/eigen/bench/btl/data/ |
gnuplot_common_settings.hh | 18 set angles radians
|
/external/eigen/demos/opengl/ |
quaternion_demo.cpp | 59 static const float angles [10] = { local 83 Vector3f newC = c + ( (AngleAxisf(angles[j*2+1], ax0) 84 * AngleAxisf(angles[j*2+0] * (l==1 ? 0.35 : 0.5), ax1)) * ax0) 188 // Euler angles slerp 610 but = new QRadioButton("euler angles"); 613 but->setToolTip("use Euler angles to interpolate orientations");
|
/external/chromium_org/cc/animation/ |
transform_operations_unittest.cc | 1095 TestAngles angles[] = { local [all...] |