some fixes [multithreading,..]
needed interface changes [new options] logger for android wifi-ap-optimization new test-cases
This commit is contained in:
@@ -56,12 +56,12 @@ public:
|
||||
}
|
||||
|
||||
/** convert degrees to radians */
|
||||
static constexpr float degToRad(const float deg) {
|
||||
static constexpr inline float degToRad(const float deg) {
|
||||
return deg / 180.0f * M_PI;
|
||||
}
|
||||
|
||||
/** convert radians to degrees */
|
||||
static float radToDeg(const float rad) {
|
||||
static constexpr inline float radToDeg(const float rad) {
|
||||
return rad * 180.0f / M_PI;
|
||||
}
|
||||
|
||||
|
||||
@@ -105,6 +105,10 @@ struct Point3 {
|
||||
), 1.0f/norm);
|
||||
}
|
||||
|
||||
std::string asString() const {
|
||||
return "(" + std::to_string(x) + ", " + std::to_string(y) + ", " + std::to_string(z) + ")";
|
||||
}
|
||||
|
||||
private:
|
||||
|
||||
static inline bool eq(const float a, const float b, const float delta) {return std::abs(a-b) <= delta;}
|
||||
|
||||
Reference in New Issue
Block a user