Multiply this Vec4 component-wise by the given Vec4 and store the result in dest . @param v the vector to multiply this by @param dest will hold the result @return dest
(Vec4 v, Vec4 dest)
| 685 | * @param dest will hold the result |
| 686 | * @return dest |
| 687 | */ |
| 688 | public Vec4 mul(Vec4 v, Vec4 dest) { |
| 689 | dest.x = x * v.x; |
| 690 | dest.y = y * v.y; |
| 691 | dest.z = z * v.z; |
| 692 | dest.w = w * v.w; |
| 693 | return dest; |
| 694 | } |
| 695 | |
| 696 | /** |