(x, y, z)
| 7225 | this.toFixedNum = value; |
| 7226 | } |
| 7227 | new(x, y, z) { |
| 7228 | let allocMem = allocVector(0, 0, 0); |
| 7229 | allocMem.writeFloat(x); |
| 7230 | allocMem.add(Process.pageSize).writeFloat(y); |
| 7231 | allocMem.add(Process.pageSize * 2).writeFloat(z); |
| 7232 | return new Vector3Impl(allocMem); |
| 7233 | } |
| 7234 | toString() { |
| 7235 | return `Vector3(${this.handle}) : (${this.x.toFixed(this.toFixedNum)}, ${this.y.toFixed(this.toFixedNum)}, ${this.z.toFixed(this.toFixedNum)})`; |
| 7236 | } |
nothing calls this directly
no test coverage detected