MCPcopy
hub / github.com/g3n/engine / AppendVector3

Method AppendVector3

math32/array.go:55–60  ·  view source on GitHub ↗

AppendVector3 appends any number of Vector3 to the array

(v ...*Vector3)

Source from the content-addressed store, hash-verified

53
54// AppendVector3 appends any number of Vector3 to the array
55func (a *ArrayF32) AppendVector3(v ...*Vector3) {
56
57 for i := 0; i < len(v); i++ {
58 *a = append(*a, v[i].X, v[i].Y, v[i].Z)
59 }
60}
61
62// AppendVector4 appends any number of Vector4 to the array
63func (a *ArrayF32) AppendVector4(v ...*Vector4) {

Callers 9

NewDiskSectorFunction · 0.95
NewRibbonFunction · 0.95
NewSegmentedBoxFunction · 0.95
NewTruncatedConeSectorFunction · 0.95
NewTorusFunction · 0.95
NewGeometryMethod · 0.95
ShowWorldFaceFunction · 0.95
ShowPenAxisFunction · 0.95
ShowContactFunction · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected