mirror of
https://github.com/gwm17/implot.git
synced 2024-11-26 20:28:50 -05:00
remove garbage
This commit is contained in:
parent
7d02374665
commit
7a53c2058f
|
@ -2358,11 +2358,6 @@ inline int PosMod(int l, int 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>
|
||||
inline T OffsetAndStride(const T* data, int idx, int count, int offset, int stride) {
|
||||
idx = PosMod(offset + idx, count);
|
||||
|
|
Loading…
Reference in New Issue
Block a user