MCPcopy Create free account
hub / github.com/brenocq/implot3d / PlotLine

Function PlotLine

implot3d_items.cpp:1329–1337  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1327}
1328
1329IMPLOT3D_TMP void PlotLine(const char* label_id, const T* xs, const T* ys, const T* zs, int count, const ImPlot3DSpec& spec) {
1330 if (count < 2)
1331 return;
1332 int stride = Stride<T>(spec);
1333 GetterXYZ<IndexerIdx<T>, IndexerIdx<T>, IndexerIdx<T>> getter(IndexerIdx<T>(xs, count, spec.Offset, stride),
1334 IndexerIdx<T>(ys, count, spec.Offset, stride),
1335 IndexerIdx<T>(zs, count, spec.Offset, stride), count);
1336 return PlotLineEx(label_id, getter, spec);
1337}
1338
1339#define INSTANTIATE_MACRO(T) \
1340 template IMPLOT3D_API void PlotLine<T>(const char* label_id, const T* xs, const T* ys, const T* zs, int count, const ImPlot3DSpec& spec);

Callers 15

DemoLinePlotsFunction · 0.85
DemoRealtimePlotsFunction · 0.85
DemoPlotFlagsFunction · 0.85
DemoOffsetAndStrideFunction · 0.85
DemoLegendOptionsFunction · 0.85
DemoMarkersAndTextFunction · 0.85
DemoNaNValuesFunction · 0.85
Demo_PerIndexColorsFunction · 0.85
DemoBoxScaleFunction · 0.85
DemoBoxRotationFunction · 0.85
Demo_LogScaleFunction · 0.85
Demo_SymmetricLogScaleFunction · 0.85

Calls 1

PlotLineExFunction · 0.85

Tested by

no test coverage detected