Skip to content

Commit

Permalink
fix WritePrimitiveAttributes example name
Browse files Browse the repository at this point in the history
  • Loading branch information
qmuntal committed Jul 2, 2024
1 parent f73646e commit 71e4f2d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modeler/example_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ func ExampleWriteAccessorsInterleaved() {
}
}

func ExampleWriteAttributesInterleaved() {
func ExampleWritePrimitiveAttributes() {
doc := gltf.NewDocument()
attrs, _ := modeler.WritePrimitiveAttributes(doc,
modeler.PrimitiveAttribute{Name: gltf.POSITION, Data: [][3]float32{{1, 2, 3}, {0, 0, -1}}},
Expand Down

0 comments on commit 71e4f2d

Please sign in to comment.