AppendVector2 appends any number of Vector2 to the array
(v ...*Vector2)
| 45 | |
| 46 | // AppendVector2 appends any number of Vector2 to the array |
| 47 | func (a *ArrayF32) AppendVector2(v ...*Vector2) { |
| 48 | |
| 49 | for i := 0; i < len(v); i++ { |
| 50 | *a = append(*a, v[i].X, v[i].Y) |
| 51 | } |
| 52 | } |
| 53 | |
| 54 | // AppendVector3 appends any number of Vector3 to the array |
| 55 | func (a *ArrayF32) AppendVector3(v ...*Vector3) { |
no outgoing calls
no test coverage detected