Operator operator /
operator /(Vertex, float)
Divides a Vertex object by the specified value
and returns the result in a new Vertex object.
Division is performed component-wise for every attribute.
Declaration
public static Vertex operator /(Vertex a, float value)
Parameters
Type | Name | Description |
---|---|---|
Vertex | a | Vertex object to divide (dividend). |
float | value | Divisor. |
Returns
Type | Description |
---|---|
Vertex | A new Vertex with the quotient of |
Remarks
Color, normal, and tangent values are not normalized within this function. If you are expecting unit vectors, you need to normalize these attributes.