Home | History | Annotate | Download | only in com.example.android.wearable.watchface

Lines Matching refs:coords

334             float[] coords = new float[]{
341 rotateCoords(coords, angleDegrees);
342 return coords;
349 * @param coords flattened 3D coordinates
353 private void rotateCoords(float[] coords, int angleDegrees) {
357 for (int i = 0; i < coords.length; i += 3) {
358 float x = coords[i];
359 float y = coords[i + 1];
360 coords[i] = (float) (cos * x - sin * y);
361 coords[i + 1] = (float) (sin * x + cos * y);