Simple implementation of a 3-dimensional vector and basic operations in Go.
- Addition of two vectors
- Multiplication by a scalar
- Dot product of two vectors
- Cross product of two vectors
Most functions are defined to return a new vector without modifying the input.