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

Function reCreate

cpp/4_CUDA_Libraries/randomFog/randomFog.cpp:347–364  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

345}
346
347void reCreate(void)
348{
349 switch (g_currentShape) {
350 case Sphere:
351 case SphericalShell:
352 createSphere();
353 break;
354
355 case Cube:
356 createCube();
357 break;
358
359 default:
360 createPlane();
361 }
362
363 display();
364}
365
366void cleanup(int code)
367{

Callers 1

keyboardFunction · 0.85

Calls 4

createSphereFunction · 0.85
createCubeFunction · 0.85
createPlaneFunction · 0.85
displayFunction · 0.70

Tested by

no test coverage detected