_ASSERT(shipRouteList != NULL);
const float lineWidth = max<float>( 1, float( 1 * m_viewScale ) );
+ const float hilightLineWidth = lineWidth * 1.5f;
::glLineWidth( lineWidth );
// \8dÅ\90V\8dq\98H\88È\8aO\82ð\94¼\93§\96¾\82Å\95`\89æ
if ( 1 < shipRouteList->getList().size() ) {
if ( route->isFavorite() ) {
::glColor4f( 1.0f, 1.0f, 0.0f, 0.75f );
if ( route->isHilight() ) {
- ::glLineWidth( lineWidth * 2 );
+ ::glLineWidth( hilightLineWidth );
}
}
else {
if ( route->isHilight() ) {
- ::glLineWidth( lineWidth * 2 );
+ ::glLineWidth( hilightLineWidth );
::glColor4f( 0.5f, 1.0f, 1.0f, 0.75f );
}
else {