* return the square length of this vector * @returns The length^2 of this vector.
()
| 364 | * @returns The length^2 of this vector. |
| 365 | */ |
| 366 | length2(): number { |
| 367 | return this.dot(this); |
| 368 | } |
| 369 | |
| 370 | /** |
| 371 | * return the length (magnitude) of this vector |
no test coverage detected