diff options
Diffstat (limited to 'main.go')
-rw-r--r-- | main.go | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -21,10 +21,11 @@ func main() { parseFlags(&stlFilePath) // parse STL file - _, err := ReadBinaryStlFile(stlFilePath) + stl, err := ReadBinaryStlFile(stlFilePath) if err != nil { log.Fatal(err) } + vertices = stl.toVertices() // initialize application (includes GLFW/window) var app App = newApp() |