Converts this Vec3 to a Vec4 (with w=0) @return Vec4(this.x, this.y, this.z, 0)
()
| 1485 | * @return Vec4(this.x, this.y, this.z, 0) |
| 1486 | */ |
| 1487 | public Vec4 toVec4() { |
| 1488 | return new Vec4(this.x, this.y, this.z, 0); |
| 1489 | } |
| 1490 | |
| 1491 | /** |
| 1492 | * Converts this Vec3 to a Vec2 |