| Parameter | Description |
|---|---|
| x | Value to use when computing squared length. |
float Squared length of x.
Returns the squared length of a float value. Equivalent to squaring the value.
| Parameter | Description |
|---|---|
| x | Vector to use when computing squared length. |
float Squared length of vector x.
Returns the squared length of a float2 vector.
| Parameter | Description |
|---|---|
| x | Vector to use when computing squared length. |
float Squared length of vector x.
Returns the squared length of a float3 vector.
| Parameter | Description |
|---|---|
| x | Vector to use when computing squared length. |
float Squared length of vector x.
Returns the squared length of a float4 vector.
| Parameter | Description |
|---|---|
| x | Value to use when computing squared length. |
double Squared length of x.
Returns the squared length of a double value. Equivalent to squaring the value.
| Parameter | Description |
|---|---|
| x | Vector to use when computing squared length. |
double Squared length of vector x.
Returns the squared length of a double2 vector.
| Parameter | Description |
|---|---|
| x | Vector to use when computing squared length. |
double Squared length of vector x.
Returns the squared length of a double3 vector.
| Parameter | Description |
|---|---|
| x | Vector to use when computing squared length. |
double Squared length of vector x.
Returns the squared length of a double4 vector.
| Parameter | Description |
|---|---|
| q | The input quaternion. |
float The length squared of the input quaternion.
Returns the squared length of a quaternion.