Table of Contents
Preface
Chapter 1: Creating a Game Window
Technical requirements14
Creating an empty project14
Creating the application class16
Adding an OpenGL loader17
Getting glad18
Adding glad to the project18
Creating a window19
Global variables22
Opening a window22
Creating the event handler28
Exploring the samples30
Summary32
Chapter 2: Implementing Vectors
Introducing vectors34
Creating a vector34
Epsilon35
Understanding component-wise operations36
Vector addition36
Vector subtraction37
Scaling vectors38
Multiplying vectors38
Dot product39
Understanding non-component-wise operations40
Vector length40
Normalizing vectors41
The angle between vectors42
Vector projection and rejection43
Vector reflection45
Cross product46
Interpolating ...
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.