Skip to content

cf_cross

Category: math
GitHub: cute_math.h


Computes the 2D cross product between a and b.

#define cf_cross(a, b)

Remarks

Returns a scalar when both arguments are vectors, or a perpendicular vector when one argument is a scalar.

cf_dot
cf_det2
cf_mul
cf_div