flaw-editor/exe/model-editor.hs

Summary

Maintainability
Test Coverage

Use readTVarIO
Open

    exit <- atomically $ readTVar exitVar
Severity: Minor
Found in flaw-editor/exe/model-editor.hs by hlint

Found

atomically $ readTVar exitVar

Perhaps

readTVarIO exitVar

Reduce duplication
Open

            renderUniform usLight uLightColor lightColor
Severity: Minor
Found in flaw-editor/exe/model-editor.hs by hlint

Found

renderUniform usLight uLightColor lightColor
renderUploadUniformStorage usLight
renderUniformStorage usLight

Perhaps

Combine with flaw-editor/exe/model-editor.hs:930:11

Reduce duplication
Open

    let v = undefined :: VertexPNT
Severity: Minor
Found in flaw-editor/exe/model-editor.hs by hlint

Found

let v = undefined :: VertexPNT
aPosition <- vertexAttribute 0 0 $ vertexPositionAttribute v
aNormal <- vertexAttribute 0 0 $ vertexNormalAttribute v

Perhaps

Combine with flaw-editor/exe/model-editor.hs:398:5

Reduce duplication
Open

          renderUniformStorage usObject
Severity: Minor
Found in flaw-editor/exe/model-editor.hs by hlint

Found

renderUniformStorage usObject
renderVertexBuffer 0 vbObject
renderIndexBuffer ibObject

Perhaps

Combine with flaw-editor/exe/model-editor.hs:886:11

Reduce duplication
Open

          renderUploadUniformStorage usObject
Severity: Minor
Found in flaw-editor/exe/model-editor.hs by hlint

Found

renderUploadUniformStorage usObject
renderUniformStorage usObject
renderDraw icObject

Perhaps

Combine with flaw-editor/exe/model-editor.hs:899:11

There are no issues that match your filters.

Category
Status