Fixed vectorize warning

This commit is contained in:
Jan Möbius
2019-08-28 11:00:42 +02:00
parent 0d04d4f410
commit 37523c16d0
4 changed files with 10 additions and 10 deletions

View File

@@ -145,7 +145,7 @@ MeshViewerWidgetT<M>::open_mesh(const char* _filename, IO::Options _opt)
// set center and radius
set_scene_pos( (bbMin+bbMax)*0.5, (bbMin-bbMax).norm()*0.5 );
set_scene_pos( (bbMin+bbMax)*0.5f, (bbMin-bbMax).norm()*0.5f );
// for normal display
normal_scale_ = (bbMax-bbMin).min()*0.05f;