MCPcopy Create free account
hub / github.com/KAlO2/PerfectShow / cross

Method cross

jni/venus/vec2.h:177–185  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

175 * quantity and direction.
176 */
177 friend T cross(const vec2<T>& v1, const vec2<T>& v2)
178 {
179/*
180 | i j k |
181 | v1.x v1.y 0 |
182 | v2.x v2.y 0 |
183*/
184 return v1.x * v2.y - v2.x * v1.y;
185 }
186
187 template <typename charT, class traits>
188 friend std::basic_istream<charT, traits>& operator >>(

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected