官术网_书友最值得收藏!

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 how to implement vectors in an intuitive, visual way that relies on code more than math formulas. If you are interested in math formulas or want some interactive examples to try out, go to https://gabormakesgames.com/vectors.html.

主站蜘蛛池模板: 屯门区| 杭锦后旗| 临邑县| 剑阁县| 保康县| 乐安县| 四会市| 六安市| 文安县| 巫山县| 东安县| 彭泽县| 延津县| 乾安县| 贵德县| 铁岭县| 舞阳县| 台北市| 丰县| 浪卡子县| 松溪县| 古蔺县| 祁连县| 濮阳市| 鞍山市| 岳阳县| 邵阳市| 象州县| 鲁甸县| 得荣县| 阿拉善左旗| 汉沽区| 镇坪县| 伊宁县| 交口县| 馆陶县| 临漳县| 赤水市| 江孜县| 宝丰县| 时尚|