3DScene select_view() function moved to c++

This commit is contained in:
Enrico Turri 2018-05-15 11:30:11 +02:00
parent 75f1f832aa
commit f0d1888ca9
8 changed files with 89 additions and 28 deletions

View file

@ -1878,6 +1878,11 @@ void _3DScene::zoom_to_volumes(wxGLCanvas* canvas)
s_canvas_mgr.zoom_to_volumes(canvas);
}
void _3DScene::select_view(wxGLCanvas* canvas, const std::string& direction)
{
s_canvas_mgr.select_view(canvas, direction);
}
void _3DScene::register_on_viewport_changed_callback(wxGLCanvas* canvas, void* callback)
{
s_canvas_mgr.register_on_viewport_changed_callback(canvas, callback);