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

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.

主站蜘蛛池模板: 东乌| 留坝县| 合山市| 九江县| 扎兰屯市| 得荣县| 汝南县| 巍山| 高台县| 英德市| 达拉特旗| 石门县| 寻甸| 光泽县| 麦盖提县| 江西省| 黔西| 陵川县| 小金县| 东乡族自治县| 竹溪县| 册亨县| 抚远县| 襄城县| 义马市| 汝城县| 百色市| 开远市| 延长县| 洛扎县| 三亚市| 湖北省| 宿州市| 淮南市| 通许县| 营口市| 新营市| 陇南市| 普格县| 岳池县| 大庆市|