(scale)
| 69329 | return this.check(); |
| 69330 | } |
| 69331 | scale(scale) { |
| 69332 | if (typeof scale === "number") for(let i = 0; i < this.ELEMENTS; ++i)this[i] *= scale; |
| 69333 | else for(let i1 = 0; i1 < this.ELEMENTS && i1 < scale.length; ++i1)this[i1] *= scale[i1]; |
| 69334 | return this.check(); |
| 69335 | } |
| 69336 | multiplyByScalar(scalar) { |
| 69337 | for(let i = 0; i < this.ELEMENTS; ++i)this[i] *= scalar; |
| 69338 | return this.check(); |