1
0
Fork 0
mirror of https://github.com/gwm17/implot.git synced 2024-11-23 02:38:53 -05:00

remove garbage

This commit is contained in:
Evan Pezent 2020-06-12 16:15:11 -05:00
parent 7d02374665
commit 7a53c2058f

View File

@ -2358,11 +2358,6 @@ inline int PosMod(int l, int r) {
return (l % r + r) % r; return (l % r + r) % r;
} }
// template <typename T>
// inline T StrideIndex(const T* data, int idx, int stride) {
// return *(const T*)(const void*)((const unsigned char*)data + (size_t)idx * stride);
// }
template <typename T> template <typename T>
inline T OffsetAndStride(const T* data, int idx, int count, int offset, int stride) { inline T OffsetAndStride(const T* data, int idx, int count, int offset, int stride) {
idx = PosMod(offset + idx, count); idx = PosMod(offset + idx, count);