Download this file
7 lines (6 with data), 220 Bytes
| //=============================================================================
/*! calculate vector product for 2D vector */
inline double operator/(const drovec2& A, const drovec2& B)
{
return A(0)*B(1)-A(1)*B(0);
}
|
×
Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.