Home > rc-js-util > Vec2 > getNormal
Vec2.getNormal() method
Returns the normal to this vector.
Signature:
getNormal<TResult extends TTypedArray = TArray>(_result?: Vec2<TResult>): Vec2<TResult>;
Parameters
Parameter |
Type |
Description |
_result |
Vec2<TResult> |
(Optional) |
Returns:
Vec2<TResult>