36RevolvingDoor::RevolvingDoor(
Object *parent,
DynamicMesh *wrapper,
const std::string &name,
bool run,
const std::string &soundfile,
const std::string &texture,
Real thickness,
bool clockwise,
int segments,
Real speed,
Real rotation,
Real CenterX,
Real CenterZ,
Real width,
Real height,
Real voffset,
Real tw,
Real th) :
Object(parent),
Lock(this)
61 Vector3 position (CenterX, voffset, CenterZ);
84 sbs->
AddWallMain(wall, name, texture, thickness, -width, -width, 0, 0, height, height, 0, 0, tw, th,
false);
85 sbs->
AddWallMain(wall, name, texture, thickness, 0, 0, width, -width, height, height, 0, 0, tw, th,
false);
87 sbs->
AddWallMain(wall, name, texture, thickness, 0, 0, 0, width, height, height, 0, 0, tw, th,
false);
92 sbs->
AddWallMain(wall, name, texture, thickness, -width, 0, 0, 0, height, height, 0, 0, tw, th,
false);
94 sbs->
AddWallMain(wall, name, texture, thickness, 0, 0, width, 0, height, height, 0, 0, tw, th,
false);
98 sbs->
AddWallMain(wall, name, texture, thickness, 0, -width, 0, 0, height, height, 0, 0, tw, th,
false);
100 sbs->
AddWallMain(wall, name, texture, thickness, 0, 0, 0, width, height, height, 0, 0, tw, th,
false);
RevolvingDoor(Object *parent, DynamicMesh *wrapper, const std::string &name, bool run, const std::string &soundfile, const std::string &texture, Real thickness, bool clockwise, int segments, Real speed, Real rotation, Real CenterX, Real CenterZ, Real width, Real height, Real voffset, Real tw, Real th)
bool AddWallMain(Wall *wallobject, const std::string &name, const std::string &texture, Real thickness, Real x1, Real z1, Real x2, Real z2, Real height_in1, Real height_in2, Real altitude1, Real altitude2, Real tw, Real th, bool autosize)
void SetTextureFlip(int mainneg, int mainpos, int sideneg, int sidepos, int top, int bottom)
void ResetTextureMapping(bool todefaults=false)