Vector2DNormalize Method (Vector2D) |
Makes the specified vector have a magnitude of 1.
Namespace:
LightBuzz
Assembly:
LightBuzz (in LightBuzz.dll) Version: 1.0.0.0 (1.0.0.0)
Syntaxpublic static Vector2D Normalize(
Vector2D vector
)
Public Shared Function Normalize (
vector As Vector2D
) As Vector2D
public:
static Vector2D Normalize(
Vector2D vector
)
static member Normalize :
vector : Vector2D -> Vector2D
Parameters
- vector
- Type: LightBuzzVector2D
The vector to normalize.
Return Value
Type:
Vector2DThe normalized vector.
See Also