Vector2DDivide Method (Vector2D, Single) |
Divides a vector by a number.
Namespace:
LightBuzz
Assembly:
LightBuzz (in LightBuzz.dll) Version: 1.0.0.0 (1.0.0.0)
Syntaxpublic static Vector2D Divide(
Vector2D vector1,
float scalar
)
Public Shared Function Divide (
vector1 As Vector2D,
scalar As Single
) As Vector2D
public:
static Vector2D Divide(
Vector2D vector1,
float scalar
)
static member Divide :
vector1 : Vector2D *
scalar : float32 -> Vector2D
Parameters
- vector1
- Type: LightBuzzVector2D
The specified vector. - scalar
- Type: SystemSingle
The number to divide with.
Return Value
Type:
Vector2DThe resulting vector.
See Also