- Game Physics Cookbook
- Gabor Szauer
- 92字
- 2021-04-02 20:27:34
Introduction
Collisions play a large role in physics, determining if two objects touch is half the work. To determine if collisions are happening, we need to cover some basic geometry. In this chapter, we define what the geometry being used for collision tests will be and even implement some basic containment tests.
In this chapter we will implement primitive two-dimensional shapes. In the following chapters which follow we will combine multiple primitive shapes to create more complex shapes. After we have mastered two-dimensional collisions, we will create three-dimensional geometry and collision tests.
推薦閱讀
- 數(shù)據(jù)庫(kù)程序員面試筆試真題與解析
- Mastering OpenCV Android Application Programming
- Hands-On Image Processing with Python
- Python算法從菜鳥(niǎo)到達(dá)人
- Express Web Application Development
- Python+Office:輕松實(shí)現(xiàn)Python辦公自動(dòng)化
- Python繪圖指南:分形與數(shù)據(jù)可視化(全彩)
- 3D Printing Designs:Design an SD Card Holder
- Web前端開(kāi)發(fā)實(shí)戰(zhàn)教程(HTML5+CSS3+JavaScript)(微課版)
- Go語(yǔ)言Hyperledger區(qū)塊鏈開(kāi)發(fā)實(shí)戰(zhàn)
- HTML5與CSS3權(quán)威指南(第2版·下冊(cè))
- VB語(yǔ)言程序設(shè)計(jì)實(shí)驗(yàn)教程
- 程序員面試筆試寶典
- VMware Horizon桌面與應(yīng)用虛擬化權(quán)威指南
- 思維訓(xùn)練啟蒙新觀念:青少年P(guān)ascal語(yǔ)言編程搶先起跑一路通