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

Function display

cpp/4_CUDA_Libraries/randomFog/randomFog.cpp:315–326  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

313}
314
315void display(void)
316{
317 glClear(GL_COLOR_BUFFER_BIT);
318 glLoadIdentity();
319 glTranslatef(0.0f, 0.0f, -4.0f);
320 glRotatef(g_yRotated, 0.0f, 1.0f, 0.0f);
321 glRotatef(g_xRotated, 1.0f, 0.0f, 0.0f);
322 drawPoints();
323 drawText();
324 glFlush();
325 glutSwapBuffers();
326}
327
328void idle(void)
329{

Callers 3

idleFunction · 0.70
reCreateFunction · 0.70
keyboardFunction · 0.70

Calls 2

drawPointsFunction · 0.85
drawTextFunction · 0.85

Tested by

no test coverage detected