Initial commit.

This commit is contained in:
Mike Bostock 2012-12-14 09:47:48 -08:00
commit 44b5f2392f
98 changed files with 11750 additions and 0 deletions

25
physics/transform.h Normal file
View file

@ -0,0 +1,25 @@
// -*- C++ -*-
#ifndef MBOSTOCK_TRANSFORM_H
#define MBOSTOCK_TRANSFORM_H
namespace mbostock {
class Transform {
public:
Transform();
virtual ~Transform() {}
void enable(bool enabled = true);
inline bool enabled() const { return enabled_; }
virtual void reset() = 0;
virtual void step() = 0;
private:
bool enabled_;
};
}
#endif