Initial commit.
This commit is contained in:
commit
44b5f2392f
98 changed files with 11750 additions and 0 deletions
40
room_object.cpp
Normal file
40
room_object.cpp
Normal 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;
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue