Skip to content

Commit

Permalink
codestyle
Browse files Browse the repository at this point in the history
  • Loading branch information
mi-sts committed May 6, 2024
1 parent 1d177a3 commit e364889
Showing 1 changed file with 0 additions and 10 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -181,19 +181,9 @@ class LinesLayerRenderer(
return visibleLineLayers.firstOrNull()?.settings?.useCommonColor ?: false
}

private fun getLineWidth(): Float {
return visibleLineLayers.firstOrNull()?.settings?.selectedWidth?.toFloat() ?: return 1f
}

companion object {
private const val UseCommonColorUniformName = "uUseCommonColor"

private val boundsVerticesLocalPositions = listOf(
Vector2f(1f, 1f),
Vector2f(1f, -1f),
Vector2f(-1f, -1f),
Vector2f(-1f, 1f)
)
private const val DefaultLocalVerticesPositionsDivider = 600f
private const val HighlightingWidthMultiplier = 2.5f
private const val NonOpaqueLineWidthFactor = 1f
Expand Down

0 comments on commit e364889

Please sign in to comment.