0

How much math is used in game development with c++

21st Nov 2021, 5:43 PM
Mr Ali
Mr Ali - avatar
3 ответов
21st Nov 2021, 5:46 PM
A͢J
A͢J - avatar
+ 1
I rarely had to remember maths when doing normal website design and backend development (maybe set theory and simple arithmetic at the most.) But I had to perfectly revise my Trigonometry, 2D, 3D geometry , linear algebra when working with graphics or games. Game graphics can be understood like this. Imagine you got a pen but to move that pen you can only use instructions like ( make a line, make a circle, go there, make a curve, etc). Now you have to re draw a new image every few milli seconds ( usually 17ms to reach 60FPS) to make animation. Add some conditional logic to control the animation based on user input to make it a game. https://code.sololearn.com/WM69XHQC8dy2/?ref=app https://code.sololearn.com/W1PjwR3reFzJ/?ref=app
23rd Nov 2021, 4:46 AM
Morpheus
Morpheus - avatar