Searched refs:m_topWallObject (Results 1 – 2 of 2) sorted by relevance
226 if (m_topWallObject) in setDimensions()228 removeObjectNow(*m_topWallObject); in setDimensions()231 m_topWallObject = std::make_unique<MCObject>("__WORLD_TOP_WALL"); in setDimensions()232 m_topWallObject->setShape(std::make_shared<MCRectShape>(nullptr, w, h)); in setDimensions()233 m_topWallObject->physicsComponent().setMass(0, true); in setDimensions()234 m_topWallObject->physicsComponent().setRestitution(wallRestitution); in setDimensions()235 m_topWallObject->addToWorld(); in setDimensions()236 m_topWallObject->translate(MCVector3dF(w / 2, h + h / 2, 0)); in setDimensions()264 if (m_topWallObject) in setDimensions()266 removeObjectNow(*m_topWallObject); in setDimensions()[all …]
231 std::unique_ptr<MCObject> m_topWallObject; member in MCWorld