Move source to src.
This commit is contained in:
parent
6f246722f9
commit
2442efc1a6
82 changed files with 13 additions and 236 deletions
32
src/ramp.h
Normal file
32
src/ramp.h
Normal file
|
|
@ -0,0 +1,32 @@
|
|||
// -*- C++ -*-
|
||||
|
||||
#ifndef MBOSTOCK_RAMP_H
|
||||
#define MBOSTOCK_RAMP_H
|
||||
|
||||
#include "model.h"
|
||||
#include "physics/shape.h"
|
||||
#include "room_object.h"
|
||||
|
||||
namespace mbostock {
|
||||
|
||||
class Ramp : public RoomObject {
|
||||
public:
|
||||
Ramp(const Vector& x0, const Vector& x1,
|
||||
const Vector& x2, const Vector& x3);
|
||||
|
||||
virtual Model& model();
|
||||
virtual const Shape& shape() const;
|
||||
virtual float slip() const;
|
||||
|
||||
void setMaterial(const Material& m);
|
||||
void setTopMaterial(const Material& m);
|
||||
|
||||
private:
|
||||
const Wedge wedge_;
|
||||
WedgeModel model_;
|
||||
};
|
||||
|
||||
}
|
||||
|
||||
|
||||
#endif
|
||||
Loading…
Add table
Add a link
Reference in a new issue