Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/NVIDIA/cuda-samples
/ idle
Function
idle
cpp/0_Introduction/simpleTexture3D/simpleTexture3D.cpp:175–181 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
173
}
174
175
void idle()
176
{
177
if (animate) {
178
w += 0.01f;
179
glutPostRedisplay();
180
}
181
}
182
183
void keyboard(unsigned char key, int x, int y)
184
{
Callers
nothing calls this directly
Calls
no outgoing calls
Tested by
no test coverage detected