-
Jeroen Leuenberger authored
Visualisation is the class representation of the output JSON from the simulation programme.
Jeroen Leuenberger authoredVisualisation is the class representation of the output JSON from the simulation programme.
bodystate.cpp 207 B
#include "bodystate.h"
BodyState::BodyState() {
this -> pos = Vector2();
this -> vel = Vector2();
}
BodyState::BodyState(Vector2 pos, Vector2 vel) {
this -> pos = pos;
this -> vel = vel;
}