lcd accelerometer
Diff: physics.h
- Revision:
- 0:a0e65c86809d
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/physics.h Tue Oct 31 14:31:13 2017 +0000 @@ -0,0 +1,19 @@ +// Library for accelerometer Assignment4 OCE360 +// Written by Jake Bonney + +//class definitions +class physics_ball +{ + public: + physics_ball(); + float vx; + float vy; + int x; + int y; + int radius; + void update(float time_step); + void define_space(int width, int height); + void set_param(int radius, int color); + void set_state(int x, int y, float vx,float vy); + }; + \ No newline at end of file