Stowy Physics Engine 0.1.0
|
Generic class for all solvers. More...
#include <Solver.hpp>
Public Member Functions | |
Solver ()=default | |
virtual | ~Solver ()=default |
Solver (const Solver &other)=default | |
Solver (Solver &&other)=default | |
Solver & | operator= (const Solver &other)=delete |
Solver & | operator= (Solver &&other)=delete |
virtual void | Solve (const std::vector< Collision > &collisions, float deltaTime)=0 |
Solves the provided collisions. | |
Generic class for all solvers.
|
default |
|
virtualdefault |
|
default |
|
default |
|
pure virtual |
Solves the provided collisions.
collisions | Collisions to solve. |
deltaTime | Time elapsed since the last frame. |
Implemented in stw::ImpulseSolver, and stw::SmoothPositionSolver.