Method Normalize
Normalize(float2, out float2)
Normalizes a vector
Declaration
public static float Normalize(float2 input, out float2 output)
Parameters
Type | Name | Description |
---|---|---|
float2 | input | Input vector |
float2 | output | Normalized output vector |
Returns
Type | Description |
---|---|
float | Length/magnitude of input vector |