- Hands-On C++ Game Animation Programming
- Gabor Szauer
- 95字
- 2021-06-30 14:45:51
Understanding non-component-wise operations
Not all vector operations are component-wise; some operations require more math. In this section, you are going to learn how to implement common vector operations that are not component-based. These operations are as follows:
- How to find the length of a vector
- What a normal vector is
- How to normalize a vector
- How to find the angle between two vectors
- How to project vectors and what rejection is
- How to reflect vectors
- What the cross product is and how to implement it
Let's take a look at each one in more detail.
推薦閱讀
- Mastering JavaScript Functional Programming
- 玩轉Scratch少兒趣味編程
- Go語言高效編程:原理、可觀測性與優化
- C語言程序設計
- C/C++常用算法手冊(第3版)
- H5頁面設計:Mugeda版(微課版)
- Teaching with Google Classroom
- Go語言精進之路:從新手到高手的編程思想、方法和技巧(1)
- Unity 2018 Shaders and Effects Cookbook
- Scratch3.0趣味編程動手玩:比賽訓練營
- Android應用開發實戰(第2版)
- 奔跑吧 Linux內核
- Java并發實現原理:JDK源碼剖析
- TypeScript全棧開發
- 例說FPGA:可直接用于工程項目的第一手經驗