Vec.cross

Computes the cross product of this vector and another, and stores the result in this vector.

struct Vec(T, size_t size)
ref @nogc
static if(isFloatingPoint!T && size == 3)
MY_TYPE
cross
(
MY_TYPE other
)
if (
isNumeric!T &&
size > 0
)

Parameters

other MY_TYPE

The other vector.

Return Value

Type: MY_TYPE

A reference to this vector, for method chaining.

Meta