Closed adielfernandez closed 5 years ago
It works if you add in the ScreenCamera scaling to the linewidth:
LineView.cpp: float screenScale = bluecadet::core::ScreenCamera::getInstance()->getScale().x; gl::ScopedLineWidth lineWidth(mLineWidth * screenScale);
Only works up to GLSL's maximum line width, but this should be good enough. If fatter lines are needed, just draw Rect. @benjaminbojko if this looks good to you I have a pull request ready to fold it in.
Looks good, thanks
Closed in #140
It works if you add in the ScreenCamera scaling to the linewidth:
Only works up to GLSL's maximum line width, but this should be good enough. If fatter lines are needed, just draw Rect. @benjaminbojko if this looks good to you I have a pull request ready to fold it in.