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

Function click

cpp/5_Domain_Specific/fluidsGL/fluidsGL.cpp:297–302  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

295}
296
297void click(int button, int updown, int x, int y)
298{
299 lastx = x;
300 lasty = y;
301 clicked = !clicked;
302}
303
304void motion(int x, int y)
305{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected