Chapter 3

Vector Class

Building up on the previous week, we’d utilising the concepts of OOPs to create a Vector class. This class would be able to perform basic operations like addition, subtraction, scalar multiplication, dot product, cross product, etc.