Skip to content

Commit

Permalink
examples fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
EliCDavis committed Dec 16, 2024
1 parent 27f1bf6 commit d825c8c
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 60 deletions.
56 changes: 0 additions & 56 deletions examples/ivey-test/main.go

This file was deleted.

2 changes: 1 addition & 1 deletion examples/pumpkin/pumpkin.go
Original file line number Diff line number Diff line change
Expand Up @@ -274,7 +274,7 @@ func (pga PumpkinGLBArtifactData) Process() (generator.Artifact, error) {
// RoughnessFactor: 0,
},
NormalTexture: &gltf.PolyformNormal{
PolyformTexture: gltf.PolyformTexture{
PolyformTexture: &gltf.PolyformTexture{
URI: "normal.png",
},
},
Expand Down
2 changes: 1 addition & 1 deletion examples/pumpkin/stem.go
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ func (sm StemMeshData) Process() (gltf.PolyformModel, error) {
},
},
NormalTexture: &gltf.PolyformNormal{
PolyformTexture: gltf.PolyformTexture{
PolyformTexture: &gltf.PolyformTexture{
URI: "Texturing/stem-normal.png",
},
},
Expand Down
4 changes: 2 additions & 2 deletions examples/structure/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,7 @@ func pipeColor() color.RGBA {
}

var pipeNormalTexture = &gltf.PolyformNormal{
PolyformTexture: gltf.PolyformTexture{
PolyformTexture: &gltf.PolyformTexture{
URI: "pipe-normal.png",
},
}
Expand Down Expand Up @@ -322,7 +322,7 @@ func (p PipeNodeData) Process() (generator.Artifact, error) {
RoughnessFactor: &roughness,
},
NormalTexture: &gltf.PolyformNormal{
PolyformTexture: gltf.PolyformTexture{
PolyformTexture: &gltf.PolyformTexture{
URI: "ibeam-normal.png",
},
},
Expand Down

0 comments on commit d825c8c

Please sign in to comment.