Set the first two components from the given v and the z component from the given z @param v the Vec2 to copy the values from @param z the z component @return this
(Vec2 v, double z)
| 358 | * @return this |
| 359 | */ |
| 360 | public Vec3 set(Vec2 v, double z) { |
| 361 | this.x = v.x; |
| 362 | this.y = v.y; |
| 363 | this.z = z; |
| 364 | return this; |
| 365 | } |
| 366 | |
| 367 | /** |
| 368 | * Set the x, y and z components to match the supplied vector. |
no test coverage detected