summaryrefslogtreecommitdiff
path: root/main.go
diff options
context:
space:
mode:
authorxengineering <mail2xengineering@protonmail.com>2021-05-31 10:41:31 +0200
committerxengineering <mail2xengineering@protonmail.com>2021-05-31 13:27:05 +0200
commitc53d6d94e4ee8ca01d857ed5f86899be048ef7f4 (patch)
tree0861e150a931ae3dc6bc02a94faa4f9ed0c890d9 /main.go
parent47ef2d48af8d9efc23b65f13546528e061bad13d (diff)
downloadstlscope-c53d6d94e4ee8ca01d857ed5f86899be048ef7f4.tar
stlscope-c53d6d94e4ee8ca01d857ed5f86899be048ef7f4.tar.zst
stlscope-c53d6d94e4ee8ca01d857ed5f86899be048ef7f4.zip
Implement ambient and diffuse Lighting0.3.0
Diffstat (limited to 'main.go')
-rw-r--r--main.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/main.go b/main.go
index 004fbf3..084b8ec 100644
--- a/main.go
+++ b/main.go
@@ -28,7 +28,7 @@ func main() {
if err != nil {
log.Fatal(err)
}
- vertices = stl.toVertices()
+ vertices,vertex_normals = stl.toVertices()
// lock this program to one OS thread (details: https://golang.org/pkg/runtime/#LockOSThread)
log.Println("Locking OS thread")