| Vector2FDivide Method (Vector2F, Single) |
Divides a vector by a scalar.
Namespace: DigitalRune.Mathematics.AlgebraAssembly: DigitalRune.Mathematics (in DigitalRune.Mathematics.dll) Version: 1.14.0.0 (1.14.0.14427)
Syntax public static Vector2F Divide(
Vector2F vector,
float scalar
)
Public Shared Function Divide (
vector As Vector2F,
scalar As Single
) As Vector2F
public:
static Vector2F Divide(
Vector2F vector,
float scalar
)
static member Divide :
vector : Vector2F *
scalar : float32 -> Vector2F
Parameters
- vector
- Type: DigitalRune.Mathematics.AlgebraVector2F
The vector. - scalar
- Type: SystemSingle
The scalar.
Return Value
Type:
Vector2FThe vector with each component divided by
scalar.
See Also