Searched refs:vec1 (Results 1 – 1 of 1) sorted by relevance
151 protected double angleBetweenVecsDegrees(float[] vec1, float[] vec2) { in angleBetweenVecsDegrees() argument152 return Math.toDegrees(Math.acos((vec1[0] * vec2[0] + vec1[1] * vec2[1] + vec1[2] * vec2[2]) in angleBetweenVecsDegrees()153 / normVec(vec1) / normVec(vec2))); in angleBetweenVecsDegrees()156 protected double normVec(float[] vec1) { in normVec() argument157 return Math.sqrt(vec1[0] * vec1[0] + vec1[1] * vec1[1] + vec1[2] * vec1[2]); in normVec()