Chapter 7: Understanding the Mathematics of Computer Graphics in Unity
Mathematics is a topic that is often discussed in game development. Although Unity has provided game developers with many helper functions to reduce the complexity of using mathematics in Unity, it is still necessary to have some basic mathematical knowledge about computer graphics, such as coordinate systems, vectors, matrices, and quaternions.
In this chapter, we will explore the following key topics:
- Getting started with coordinate systems
- Working with vectors
- Working with the transformation matrix
- Working with quaternions
By the end of this chapter, you will have mathematical knowledge of computer graphics and know how to use vectors, matrices, quaternions, and Euler angles in scripts correctly.
Now, let's get started!