cross

inline fun cross(a: Int3, b: Int3): Int3


inline fun cross(a: Float3, b: Float3): Float3

Returns the cross product of a and b.

Return

a vector perpendicular to both a and b

Parameters

a

the first vector

b

the second vector


inline fun cross(a: Half3, b: Half3): Half3

Returns the cross product of a and b as a Half3.

Return

a vector perpendicular to both a and b

Parameters

a

the first vector

b

the second vector