12345678910111213141516171819202122 |
- /*
- * 2D Physic Engine
- * force.h:
- * Based on pikuma.com Learn Game Physics Engine Programming course.
- * Copyright (c) 2022 986-Studio. All rights reserved.
- *
- * Created by Manoël Trapier on 17/06/2022.
- */
- #ifndef PHYSICENGINE_FORCE_H
- #define PHYSICENGINE_FORCE_H
- #include <physics/vec2.h>
- #include <physics/particle.h>
- class force
- {
- public:
- static vec2 generateDragForce(const particle &particleRef, double k);
- };
- #endif /* PHYSICENGINE_FORCE_H */
|