support functions of dash arrays

This commit is contained in:
Ansis Brammanis
2015-01-15 17:41:55 -05:00
parent b66f4e2c4b
commit c472528f9b
4 changed files with 46 additions and 20 deletions

View File

@@ -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;
}
}
}