You are here: Start » AVL.NET » AVL.ResizeVector_Delta(AvlNet.Vector2D, float, AvlNet.Vector2D)
AVL.ResizeVector_Delta(AvlNet.Vector2D, float, AvlNet.Vector2D)
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
- inVector
- Type: AvlNet.Vector2D
- inDelta
- Type: System.Single
Value added to vector length - outVector
- Type: AvlNet.Vector2D
Errors
| Error type | Description |
|---|---|
| DomainError | Negative vector length in ResizeVector_Delta. |
