trick/trick_sims/SIM_contact/models/contact/include/Ball.hh
2020-03-25 13:07:15 -05:00

22 lines
583 B
C++

/********************************* TRICK HEADER *******************************
PURPOSE: ( Simulate balls contacting boundaries. )
LIBRARY DEPENDENCY:
((Ball.o))
*******************************************************************************/
#ifndef _ball_hh_
#define _ball_hh_
class Ball {
public:
Ball(){}
double pos[2];
double vel[2];
double mass;
double radius;
Ball(double x, double y, double vx, double vy, double r, double m);
};
Ball* make_Ball(double x, double y, double vx, double vy, double r, double m);
#endif