MCPcopy Create free account
hub / github.com/NVIDIA/cuda-samples / drawPoints

Function drawPoints

cpp/4_CUDA_Libraries/randomFog/randomFog.cpp:237–246  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

235}
236
237void drawPoints(void)
238{
239 if (g_bShowAxes) {
240 glDrawArrays(GL_LINE_STRIP, 200000, 2);
241 glDrawArrays(GL_LINE_STRIP, 200002, 2);
242 glDrawArrays(GL_LINE_STRIP, 200004, 2);
243 }
244
245 glDrawArrays(GL_POINTS, 0, g_nVerticesPopulated);
246}
247
248void drawText(void)
249{

Callers 3

displayFunction · 0.85
drawPointSpritesMethod · 0.85
renderMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected