#ifndef SPACE_MOVEABLE_H_
#define SPACE_MOVEABLE_H_
-#include "../math/Vector.h"
+#include "Vector.h"
namespace space {
public:
const Vector<Scalar> &Pos() const { return pos; }
Vector<Scalar> Vel() const { return Vector<Scalar>(dir) * speed; }
+ void SetSpeed(float s) { speed = s; }
void Update(Scalar delta) {
pos += Vel() * delta;