Menu

[r124]: / trunk / include / small / drovec2-function.hpp  Maximize  Restore  History

Download this file

7 lines (6 with data), 220 Bytes

1
2
3
4
5
6
//=============================================================================
/*! 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.