commit 7ee1a21d4944ed1d8810757b52d8bc3b1611859e
parent 1639d2e361c3fe53a8fb67a7172bb4c1bc01a144
Author: Matsuda Kenji <info@mtkn.jp>
Date: Sat, 16 Nov 2024 11:31:40 +0900
delete colors
Diffstat:
1 file changed, 0 insertions(+), 11 deletions(-)
diff --git a/cmd/sample/main.go b/cmd/sample/main.go
@@ -1,7 +1,6 @@
package main
import (
- "image/color"
"log"
"math"
"path/filepath"
@@ -87,16 +86,6 @@ var object = tofu.Object{
tofu.Vec3{-0.5, -0.5, 0.5},
tofu.Vec3{-0.5, 0.5, 0.5},
},
- Colors: []color.Color{
- color.RGBA{255, 0, 0, 255},
- color.RGBA{0, 255, 0, 255},
- color.RGBA{0, 0, 255, 255},
- color.RGBA{255, 255, 0, 255},
- color.RGBA{255, 0, 0, 255},
- color.RGBA{0, 255, 0, 255},
- color.RGBA{0, 0, 255, 255},
- color.RGBA{255, 255, 0, 255},
- },
Normals: []tofu.Vec3{
{0.0, 0.0, -1.0},
{1.0, 0.0, 0.0},