MCPcopy Create free account
hub / github.com/city-super/Octree-GS / MultiMeshManager

Method MultiMeshManager

SIBR_viewers/src/core/view/MultiMeshManager.cpp:309–319  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

307 }
308
309 MultiMeshManager::MultiMeshManager(const std::string & _name) : name(_name)
310 {
311 initShaders();
312
313 auto cube = Mesh::getTestCube();
314 TrackBall tb;
315 tb.fromMesh(*cube, Viewport(0,0,1600,1200));
316 camera_handler.fromCamera(tb.getCamera());
317
318 camera_handler.switchMode(InteractiveCameraHandler::InteractionMode::TRACKBALL);
319 }
320
321 void MultiMeshManager::onUpdate(Input & input, const Viewport & vp)
322 {

Callers

nothing calls this directly

Calls 4

fromMeshMethod · 0.80
switchModeMethod · 0.80
ViewportClass · 0.70
fromCameraMethod · 0.45

Tested by

no test coverage detected