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

40
room_object.cpp Normal file
View file

@ -0,0 +1,40 @@
// -*- C++ -*-
#include "physics/vector.h"
#include "room_object.h"
using namespace mbostock;
bool RoomObject::dynamic() const {
return false;
}
Vector RoomObject::velocity(const Vector& x) const {
return Vector::ZERO();
}
float RoomObject::slip() const {
return 0.f;
}
void RoomObject::resetForces() {
}
void RoomObject::applyForce(UnaryForce& force) {
}
void RoomObject::applyWeight(float w, const Vector& x) {
}
void RoomObject::step(const ParticleSimulator& s) {
}
void RoomObject::constrainInternal() {
}
void RoomObject::reset() {
}
bool DynamicRoomObject::dynamic() const {
return true;
}