(x, y, z)
| 325 | return vector.trunc().mul(1 / vector.w); |
| 326 | } |
| 327 | constructor(x, y, z){ |
| 328 | if (x !== undefined) { |
| 329 | this.x = x; |
| 330 | if (y !== undefined && z !== undefined) { |
| 331 | this.y = y; |
| 332 | this.z = z; |
| 333 | } else { |
| 334 | this.y = x; |
| 335 | this.z = x; |
| 336 | } |
| 337 | } |
| 338 | } |
| 339 | clone() { |
| 340 | return new Vector3(this.x, this.y, this.z); |
| 341 | } |
nothing calls this directly
no outgoing calls
no test coverage detected