MCPcopy Create free account
hub / github.com/BinomialLLC/basis_universal / cross2

Method cross2

example_transcoding/utils.h:887–891  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

885 }
886
887 static inline vec<3, T> cross2(const vec& a, const vec& b)
888 {
889 ASSUME(N >= 2);
890 return vec<3, T>(0, 0, a[0] * b[1] - a[1] * b[0]);
891 }
892
893 inline vec<3, T> cross2(const vec& b) const
894 {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected