(float v[])
| 105 | return length; |
| 106 | } |
| 107 | public static final float VectorLength(float v[]) { |
| 108 | return (float) Math.sqrt(v[0] * v[0] + v[1] * v[1] + v[2] * v[2]); |
| 109 | } |
| 110 | public static void VectorInverse(float[] v) { |
| 111 | v[0] = -v[0]; |
| 112 | v[1] = -v[1]; |
no outgoing calls