40 lines
616 B
C++
40 lines
616 B
C++
// -*- 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;
|
|
}
|