Searched refs:mag (Results 1 - 2 of 2) sorted by relevance

/frameworks/base/opengl/tests/angeles/
H A Ddemo.c620 GLfloat mag; local
628 mag = (float)sqrt(z[0] * z[0] + z[1] * z[1] + z[2] * z[2]);
629 if (mag) { /* mpichler, 19950515 */
630 z[0] /= mag;
631 z[1] /= mag;
632 z[2] /= mag;
655 mag = (float)sqrt(x[0] * x[0] + x[1] * x[1] + x[2] * x[2]);
656 if (mag) {
657 x[0] /= mag;
658 x[1] /= mag;
[all...]
/frameworks/base/core/java/android/util/
H A DMathUtils.java103 public static float mag(float a, float b) { method in class:MathUtils
107 public static float mag(float a, float b, float c) { method in class:MathUtils

Completed in 53 milliseconds