SetAddScalar sets this to addition with scalar.
(s float32)
| 141 | |
| 142 | // SetAddScalar sets this to addition with scalar. |
| 143 | func (v *Vector3) SetAddScalar(s float32) { |
| 144 | v.X += s |
| 145 | v.Y += s |
| 146 | v.Z += s |
| 147 | } |
| 148 | |
| 149 | // Sub subtracts other vector from this one and returns result in new vector. |
| 150 | func (v Vector3) Sub(other Vector3) Vector3 { |
no outgoing calls