Transform/multiply the given vector by this matrix and store the result in dest . @param v the vector to transform @param dest will contain the result @return this
(Mat4 m, Vec4 v, Vec4 dest)
| 350 | * @return this |
| 351 | */ |
| 352 | public static Vec4 transform(Mat4 m, Vec4 v, Vec4 dest) { |
| 353 | if (dest == null) dest = new Vec4(); |
| 354 | v.mul(m, dest); |
| 355 | return dest; |
| 356 | } |
| 357 | |
| 358 | /** |
| 359 | * Transform/multiply the given vector by this matrix and store the result in <code>dest</code>. |