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

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.

主站蜘蛛池模板: 安仁县| 阳朔县| 五原县| 临湘市| 樟树市| 兴城市| 鸡泽县| 东平县| 黄龙县| 巴东县| 浙江省| 大城县| 察隅县| 庆元县| 江城| 周口市| 房产| 苏州市| 德钦县| 怀安县| 义乌市| 平阴县| 无棣县| 金乡县| 梁河县| 紫金县| 南木林县| 黄平县| 太保市| 界首市| 灯塔市| 深州市| 武陟县| 壤塘县| 淮滨县| 阿坝| 侯马市| 桦川县| 威宁| 永嘉县| 营山县|