mirror of
https://github.com/introlab/rtabmap.git
synced 2026-09-02 09:30:25 +08:00
Tango: added wireframe button (#191)
This commit is contained in:
@@ -954,7 +954,7 @@ int RTABMapApp::Render()
|
||||
mesh.texture = exportedTexture_;
|
||||
}
|
||||
|
||||
main_scene_.addMesh(g_exportedMeshId, mesh, opengl_world_T_rtabmap_world);
|
||||
main_scene_.addMesh(g_exportedMeshId, mesh, opengl_world_T_rtabmap_world, true);
|
||||
}
|
||||
else
|
||||
{
|
||||
@@ -1614,6 +1614,10 @@ void RTABMapApp::setBackfaceCulling(bool enabled)
|
||||
{
|
||||
main_scene_.setBackfaceCulling(enabled);
|
||||
}
|
||||
void RTABMapApp::setWireframe(bool enabled)
|
||||
{
|
||||
main_scene_.setWireframe(enabled);
|
||||
}
|
||||
|
||||
void RTABMapApp::setLocalizationMode(bool enabled)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user