Coding a Rotating 3D Cube in C

Описание к видео Coding a Rotating 3D Cube in C

✘ Get Source Code and Early Video Access on Patreon:
  / hirschdaniel  

(Affiliate Links):
✘ Learn to Code at CodeCrafters:
https://app.codecrafters.io/join?via=...

✘ How I Study:
How I Learned Vim: https://amzn.to/3ONVG5R
How I Learned C Programming: https://amzn.to/41pvkhU

In this episode we define the 3D cube's sides (using points in 3D space), and then we render that cube to the screen using a very simple projection (plain projection, ignoring the depth coordinate). The result is a 2D-looking plain square that is actually a 3D cube in disguise.
Then, we animate the 3D cube and make it rotate! This requires some matrix multiplication with rotational matrices.

Комментарии

Информация по комментариям в разработке