mirror of
https://github.com/introlab/rtabmap_ros.git
synced 2026-10-07 10:17:45 +08:00
Tango: Added Level of detail rendering depending on the distance from the camera
This commit is contained in:
@@ -108,6 +108,10 @@ public class Renderer implements GLSurfaceView.Renderer {
|
||||
{
|
||||
mToast.makeText(mActivity, String.format("Out of Memory!"), Toast.LENGTH_SHORT).show();
|
||||
}
|
||||
else if(value==-2 && mToast!=null)
|
||||
{
|
||||
mToast.makeText(mActivity, String.format("Rendering Error!"), Toast.LENGTH_SHORT).show();
|
||||
}
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user