Home
last modified time | relevance | path

Searched refs:collisionState (Results 1 – 3 of 3) sorted by relevance

/hardware/bsp/intel/peripheral/libupm/examples/javascript/
Dgrovecollision.js33 var collisionState = false; variable
41 if (collision_obj.isColliding() && !collisionState)
44 collisionState = true;
46 else if (!collision_obj.isColliding() && collisionState)
49 collisionState = false;
/hardware/bsp/intel/peripheral/libupm/examples/c++/
Dgrovecollision.cxx48 bool collisionState = false; in main() local
52 if (collision->isColliding() && !collisionState) in main()
55 collisionState = true; in main()
57 else if (collisionState) in main()
60 collisionState = false; in main()
/hardware/bsp/intel/peripheral/libupm/examples/python/
Dgrovecollision.py48 collisionState = False variable
52 if (myGrovecollision.isColliding() and not collisionState):
54 collisionState = True variable
55 elif (not myGrovecollision.isColliding() and collisionState):
57 collisionState = False variable