Chapter 2: Implementing Vectors
In this chapter, you will learn the basics of vector math. Much of what you will code throughout the rest of this book relies on having a strong understanding of vectors. Vectors will be used to represent displacement and direction.
By the end of this chapter, you will have implemented a robust vector library and will be able to perform a variety of vector operations, including component-wise and non-component-wise operations.
We will cover the following topics in this chapter:
- Introducing vectors
- Creating a vector
- Understanding component-wise operations
- Understanding non-component-wise operations
- Interpolating vectors
- Comparing vectors
- Exploring more vectors
Important information:
In this chapter, you will learn ...
Get Hands-On C++ Game Animation Programming now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.