MCPcopy Create free account
hub / github.com/egonelbre/exp / ArrayStruct

Struct ArrayStruct

bench/vector/mini/vector_test.go:10–10  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

8type Struct struct{ X, Y, Z float32 }
9type Array [3]float32
10type ArrayStruct struct{ _0, _1, _2 float32 }
11
12func (a Struct) Add(b Struct) Struct { return Struct{a.X + b.X, a.Y + b.Y, a.Z + b.Z} }
13func (a Array) Add(b Array) Array {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected