Phaser API Documentation

  Version: 
lengthSq()

Description:

Calculate the length of this Quaternion squared.

Returns:
Description:

The length of this Quaternion, squared.

Type:
  • number
Since: 3.0.0
Source: src/math/Quaternion.js (Line 328)