x

infix inline fun ImmutableVector2.x(other: ImmutableVector2): Float

Calculates the 2D cross product between this and the other vector


infix fun Vector2.x(vector2: Vector2): Float

Custom operator to apply cross multiplication.

Return

the cross product.

Parameters

vector2

will be used to calculate the cross product of this vector.


infix fun Vector3.x(vector3: Vector3): Vector3

Custom operator to apply cross multiplication.

Return

the cross product.

Parameters

vector3

will be used to calculate the cross product of this vector.