| 92 | template bool VecsEqualWithRelError(const double * v1, unsigned int size1, const double * v2, unsigned int size2, double e); |
| 93 | |
| 94 | float GetSafeScalarInverse(float v, float defaultValue) |
| 95 | { |
| 96 | if(IsScalarEqualToZero(v)) return defaultValue; |
| 97 | return 1.0f / v; |
| 98 | } |
| 99 | |
| 100 | bool VecContainsZero(const float* v, int size) |
| 101 | { |
nothing calls this directly
no test coverage detected