mirror of
https://github.com/PoetryInCode/simple-rigid-sim.git
synced 2025-04-20 02:27:15 -04:00
11 lines
211 B
C++
11 lines
211 B
C++
#include "BoundingBox.h"
|
|
|
|
class phys_obj {
|
|
public:
|
|
Vector velocity;
|
|
Quad obj;
|
|
BoundingBox bounds;
|
|
phys_obj(Quad object, Vector init_vel);
|
|
void force(Vector vec);
|
|
void render(SDL_Renderer *rend);
|
|
}; |