VectorDivision Operator (Vector, Scalar) |
Divide a vector by a scalar.
Namespace:
AGI.Foundation.Geometry
Assembly:
AGI.Foundation.Core (in AGI.Foundation.Core.dll) Version: 24.3.420.0 (24.3.420.0)
Syntax public static Vector operator /(
Vector vector,
Scalar factor
)
Public Shared Operator / (
vector As Vector,
factor As Scalar
) As Vector
public:
static Vector^ operator /(
Vector^ vector,
Scalar^ factor
)
static let inline (/)
vector : Vector *
factor : Scalar : Vector
Parameters
- vector
- Type: AGI.Foundation.GeometryVector
The vector to scale. - factor
- Type: AGI.Foundation.GeometryScalar
The scale factor.
Return Value
Type:
VectorA new vector representing the old vector divided by the given factor.
See Also