| Parameter | Description |
|---|---|
| x | Vector to normalize. |
float2 The normalized vector.
Returns a normalized version of the float2 vector x by scaling it by 1 / length(x).
| Parameter | Description |
|---|---|
| x | Vector to normalize. |
float3 The normalized vector.
Returns a normalized version of the float3 vector x by scaling it by 1 / length(x).
| Parameter | Description |
|---|---|
| x | Vector to normalize. |
float4 The normalized vector.
Returns a normalized version of the float4 vector x by scaling it by 1 / length(x).
| Parameter | Description |
|---|---|
| x | Vector to normalize. |
double2 The normalized vector.
Returns a normalized version of the double2 vector x by scaling it by 1 / length(x).
| Parameter | Description |
|---|---|
| x | Vector to normalize. |
double3 The normalized vector.
Returns a normalized version of the double3 vector x by scaling it by 1 / length(x).
| Parameter | Description |
|---|---|
| x | Vector to normalize. |
double4 The normalized vector.
Returns a normalized version of the double4 vector x by scaling it by 1 / length(x).
| Parameter | Description |
|---|---|
| q | The quaternion to normalize. |
quaternion The normalized quaternion.
Returns a normalized version of a quaternion q by scaling it by 1 / length(q).