support functions of dash arrays
This commit is contained in:
@@ -2,6 +2,7 @@
|
||||
#define MBGL_UTIL_INTERPOLATE
|
||||
|
||||
#include <array>
|
||||
#include <vector>
|
||||
|
||||
namespace mbgl {
|
||||
namespace util {
|
||||
@@ -21,6 +22,11 @@ inline std::array<T, 4> interpolate(const std::array<T, 4>& a, const std::array<
|
||||
}};
|
||||
}
|
||||
|
||||
inline std::vector<float> interpolate(const std::vector<float> &a, const std::vector<float> &b, const double t) {
|
||||
fprintf(stderr, "interpolate this\n");
|
||||
return a;
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user