You are here: Start » AVL.NET » AVL.ResizeVector_Delta Method
AVL.ResizeVector_Delta Method
Extends length of a vector by adding a value preserving its direction.
| Namespace: | AvlNet |
|---|---|
| Assembly: | AVL.NET.dll |
Syntax
public static void ResizeVector_Delta( AvlNet.Vector2D inVector, float inDelta, out AvlNet.Vector2D outVector )
Parameters
| Name | Type | Range | Default | Description | |
|---|---|---|---|---|---|
![]() | inVector | AvlNet.Vector2D | |||
![]() | inDelta | float | 0.0f | Value added to vector length. Default value: 0.0f. | |
![]() | outVector | AvlNet.Vector2D |
Errors
| Error type | Description |
|---|---|
| DomainError | Negative vector length in ResizeVector_Delta. |


