Return the dot product of a vector and another. @param a the first vector @param v the other vector @return the dot product
(Vec2 a, Vec2 v)
| 238 | * @return the dot product |
| 239 | */ |
| 240 | public static double dot(Vec2 a, Vec2 v) { |
| 241 | return a.x * v.x + a.y * v.y; |
| 242 | } |
| 243 | |
| 244 | /** |
| 245 | * Add <code>a</code> to <code>b</code> and store the result in <code>dest</code>. |
no outgoing calls
no test coverage detected