Suppression of warnings
OffsetOf: use of static_cast Updatable: API and virtual destructor Drawable: virtual destructor Vector: std::abs should be "the" abs. AbstractClass: API +Updatable: Like for others abstracts Buffer: nullptr for pointer to function. Image: wasn't returning a vector. Former-commit-id: 57e0009286a02b9e3b0b81945e500d7d9e466ae2
This commit is contained in:
@@ -51,19 +51,7 @@ NzVector2<T>::NzVector2(const NzVector4<T>& vec)
|
||||
template<typename T>
|
||||
T NzVector2<T>::AbsDotProduct(const NzVector2& vec) const
|
||||
{
|
||||
return std::fabs(x * vec.x) + std::fabs(y * vec.y);
|
||||
}
|
||||
|
||||
template<>
|
||||
inline int NzVector2<int>::AbsDotProduct(const NzVector2<int>& vec) const
|
||||
{
|
||||
return std::labs(x * vec.x) + std::labs(y * vec.y);
|
||||
}
|
||||
|
||||
template<>
|
||||
inline unsigned int NzVector2<unsigned int>::AbsDotProduct(const NzVector2<unsigned int>& vec) const
|
||||
{
|
||||
return std::labs(x * vec.x) + std::labs(y * vec.y);
|
||||
return std::abs(x * vec.x) + std::abs(y * vec.y);
|
||||
}
|
||||
|
||||
template<typename T>
|
||||
|
||||
Reference in New Issue
Block a user