Initial commit.
This commit is contained in:
commit
44b5f2392f
98 changed files with 11750 additions and 0 deletions
29
transforming.h
Normal file
29
transforming.h
Normal file
|
|
@ -0,0 +1,29 @@
|
|||
// -*- C++ -*-
|
||||
|
||||
#ifndef MBOSTOCK_TRANSFORMING_H
|
||||
#define MBOSTOCK_TRANSFORMING_H
|
||||
|
||||
#include "room_object.h"
|
||||
|
||||
namespace mbostock {
|
||||
|
||||
class TransformingRoomObject : public DynamicRoomObject {
|
||||
public:
|
||||
TransformingRoomObject(RoomObject* o);
|
||||
virtual ~TransformingRoomObject();
|
||||
|
||||
virtual float slip() const;
|
||||
virtual void resetForces();
|
||||
virtual void applyForce(UnaryForce& force);
|
||||
virtual void applyWeight(float w, const Vector& x);
|
||||
virtual void step(const ParticleSimulator& s);
|
||||
virtual void constrainInternal();
|
||||
virtual void reset();
|
||||
|
||||
protected:
|
||||
RoomObject* object_;
|
||||
};
|
||||
|
||||
}
|
||||
|
||||
#endif
|
||||
Loading…
Add table
Add a link
Reference in a new issue