SetVector3 sets the values of the array at the specified pos from the XYZ values of the specified Vector3
(pos int, v *Vector3)
| 171 | // SetVector3 sets the values of the array at the specified pos |
| 172 | // from the XYZ values of the specified Vector3 |
| 173 | func (a ArrayF32) SetVector3(pos int, v *Vector3) { |
| 174 | |
| 175 | a[pos] = v.X |
| 176 | a[pos+1] = v.Y |
| 177 | a[pos+2] = v.Z |
| 178 | } |
| 179 | |
| 180 | // SetVector4 sets the values of the array at the specified pos |
| 181 | // from the XYZ values of the specified Vector4 |
no outgoing calls
no test coverage detected