Normalize normalizes this vector so its length will be 1. Returns the pointer to this updated vector.
()
| 414 | // Normalize normalizes this vector so its length will be 1. |
| 415 | // Returns the pointer to this updated vector. |
| 416 | func (v *Vector4) Normalize() *Vector4 { |
| 417 | |
| 418 | return v.DivideScalar(v.Length()) |
| 419 | } |
| 420 | |
| 421 | // SetLength sets this vector to have the specified length. |
| 422 | // If the current length is zero, does nothing. |
nothing calls this directly
no test coverage detected