diff options
author | xengineering <mail2xengineering@protonmail.com> | 2021-05-21 15:11:50 +0200 |
---|---|---|
committer | xengineering <mail2xengineering@protonmail.com> | 2021-05-21 15:11:50 +0200 |
commit | aad26e524922d144fd4ed023dc0d60fadb62f253 (patch) | |
tree | 862d5b1b813128f7912504f0261b11cc8eda9941 /main.go | |
parent | 78a83df3572c7a91dbcbca21d74d8d11170d947c (diff) | |
download | stlscope-aad26e524922d144fd4ed023dc0d60fadb62f253.tar stlscope-aad26e524922d144fd4ed023dc0d60fadb62f253.tar.zst stlscope-aad26e524922d144fd4ed023dc0d60fadb62f253.zip |
First Rendering of an STL Model
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() |