(x = 0, y = 0, z = 0, w = 1)
| 74676 | ]; |
| 74677 | class Quaternion extends (0, _mathArrayDefault.default) { |
| 74678 | constructor(x = 0, y = 0, z = 0, w = 1){ |
| 74679 | super(-0, -0, -0, -0); |
| 74680 | if (Array.isArray(x) && arguments.length === 1) this.copy(x); |
| 74681 | else this.set(x, y, z, w); |
| 74682 | } |
| 74683 | copy(array) { |
| 74684 | this[0] = array[0]; |
| 74685 | this[1] = array[1]; |