From c53d6d94e4ee8ca01d857ed5f86899be048ef7f4 Mon Sep 17 00:00:00 2001 From: xengineering Date: Mon, 31 May 2021 10:41:31 +0200 Subject: Implement ambient and diffuse Lighting --- main.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'main.go') 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") -- cgit v1.2.3-70-g09d2