Set sets this vector X, Y and Z components. Returns the pointer to this updated vector.
(x, y, z float32)
| 27 | // Set sets this vector X, Y and Z components. |
| 28 | // Returns the pointer to this updated vector. |
| 29 | func (v *Vector3) Set(x, y, z float32) *Vector3 { |
| 30 | |
| 31 | v.X = x |
| 32 | v.Y = y |
| 33 | v.Z = z |
| 34 | return v |
| 35 | } |
| 36 | |
| 37 | // SetX sets this vector X component. |
| 38 | // Returns the pointer to this updated Vector. |
no outgoing calls
no test coverage detected