(b Vec3s)
| 37 | type Vec3s struct{ X, Y, Z float32 } |
| 38 | |
| 39 | func (a Vec3s) Add(b Vec3s) Vec3s { |
| 40 | return Vec3s{a.X + b.X, a.Y + b.Y, a.Z + b.Z} |
| 41 | } |
| 42 | func (a Vec3s) Mul(v float32) Vec3s { |
| 43 | return Vec3s{a.X * v, a.Y * v, a.Z * v} |
| 44 | } |
no outgoing calls
no test coverage detected