Abs returns the vector with [Abs] applied to each component.
()
| 294 | |
| 295 | // Abs returns the vector with [Abs] applied to each component. |
| 296 | func (v Vector3) Abs() Vector3 { |
| 297 | return Vec3(Abs(v.X), Abs(v.Y), Abs(v.Z)) |
| 298 | } |
| 299 | |
| 300 | // Distance, Normal: |
| 301 |