Converts this Vec2 to a Vec4 (with z=0, w=0) @return Vec4(this.x, this.y, 0, 0)
()
| 1313 | * @return Vec4(this.x, this.y, 0, 0) |
| 1314 | */ |
| 1315 | public Vec4 toVec4() { |
| 1316 | return new Vec4(this, 0, 0); |
| 1317 | } |
| 1318 | |
| 1319 | /** |
| 1320 | * returns true if any component of this Double.isNaN |