You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
in function
template <typename T, int len>
static inline T angle(const vecN<T,len>& a, const vecN<T,len>& b)
{
return arccos(dot(a, b));
}
my g++ 5.4.0 tell me what he don't know what is a arccos.
also it seems to me that arkosinus should be taken from the scalar product divided by the product of the lengths of the vectors.
Did i miss something?
The text was updated successfully, but these errors were encountered:
in function
template <typename T, int len>
static inline T angle(const vecN<T,len>& a, const vecN<T,len>& b)
{
return arccos(dot(a, b));
}
my g++ 5.4.0 tell me what he don't know what is a arccos.
also it seems to me that arkosinus should be taken from the scalar product divided by the product of the lengths of the vectors.
Did i miss something?
The text was updated successfully, but these errors were encountered: