Skip to content

Commit 71e4f2d

Browse files
committed
fix WritePrimitiveAttributes example name
1 parent f73646e commit 71e4f2d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

modeler/example_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ func ExampleWriteAccessorsInterleaved() {
101101
}
102102
}
103103

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

0 commit comments

Comments
 (0)