summaryrefslogtreecommitdiff
path: root/main.go
diff options
context:
space:
mode:
Diffstat (limited to 'main.go')
-rw-r--r--main.go3
1 files changed, 2 insertions, 1 deletions
diff --git a/main.go b/main.go
index 8f2afcc..6444871 100644
--- a/main.go
+++ b/main.go
@@ -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()