Full code available on Github!
Finally!!! Three-Dimensional Graphics! In this video, I replace the single triangle with
a 3D box made from 12 individual triangles.
I also show you a trick for automatically generating colors for each face.
Try to come up with the 36 vertices on your own, but if you really struggle, go online or ask a comment.
Thanks for watching!
Источник: rutube.ru