| 1377 | } |
| 1378 | |
| 1379 | IMPLOT3D_TMP void PlotTriangle(const char* label_id, const T* xs, const T* ys, const T* zs, int count, const ImPlot3DSpec& spec) { |
| 1380 | if (count < 3) |
| 1381 | return; |
| 1382 | int stride = Stride<T>(spec); |
| 1383 | GetterXYZ<IndexerIdx<T>, IndexerIdx<T>, IndexerIdx<T>> getter(IndexerIdx<T>(xs, count, spec.Offset, stride), |
| 1384 | IndexerIdx<T>(ys, count, spec.Offset, stride), |
| 1385 | IndexerIdx<T>(zs, count, spec.Offset, stride), count); |
| 1386 | return PlotTriangleEx(label_id, getter, spec); |
| 1387 | } |
| 1388 | |
| 1389 | #define INSTANTIATE_MACRO(T) \ |
| 1390 | template IMPLOT3D_API void PlotTriangle<T>(const char* label_id, const T* xs, const T* ys, const T* zs, int count, const ImPlot3DSpec& spec); |
no test coverage detected