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

Function initMenus

cpp/5_Domain_Specific/marchingCubes/marchingCubes.cpp:552–564  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

550}
551
552void initMenus()
553{
554 glutCreateMenu(mainMenu);
555 glutAddMenuEntry("Toggle animation [ ]", ' ');
556 glutAddMenuEntry("Increment isovalue [+]", '+');
557 glutAddMenuEntry("Decrement isovalue [-]", '-');
558 glutAddMenuEntry("Toggle computation [c]", 'c');
559 glutAddMenuEntry("Toggle rendering [r]", 'r');
560 glutAddMenuEntry("Toggle lighting [l]", 'l');
561 glutAddMenuEntry("Toggle wireframe [w]", 'w');
562 glutAddMenuEntry("Quit (esc)", '\033');
563 glutAttachMenu(GLUT_RIGHT_BUTTON);
564}
565
566void runGraphicsTest(int argc, char **argv)
567{

Callers 1

runGraphicsTestFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected