Skip to content

Latest commit

 

History

History
14 lines (9 loc) · 402 Bytes

README.md

File metadata and controls

14 lines (9 loc) · 402 Bytes

Vector Math

Simple implementation of a 3-dimensional vector and basic operations in Go.

List of Operations covered

  • 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.