You are here: Start » AVL.NET » AVL.ResizeVector_Delta
Extends length of a vector by adding a value preserving its direction.
Namespace: | AvlNet |
---|---|
Assembly: | AVL.NET.dll |
Syntax
C++
C#
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
List of possible exceptions:
Error type | Description |
---|---|
DomainError | Negative vector length in ResizeVector_Delta. |