Pointers might get really tricky in JavaScript

preview_player
Показать описание
Help me and my family to survive the war in Ukraine:

Live demo:

Source code:
Рекомендации по теме
Комментарии
Автор

Help me and my family to survive the war in Ukraine:

00:00 Intro
01:00 Explaining how clipping works in 3D graphics
06:55 Introducing the bug
12:45 Demonstrating the bug
14:45 A quick demo of why to sort polygons by distance to camera
16:55 Excluding missing triangle hypothesis...
17:50 ...and the output it results in
18:30 THE BIGGEST MYSTERY...
19:30 ...and the output it's causing
20:45 Why was it behaving that way?
22:20 A bit more detective efforts
22:55 Mess with pointers (actual reason behind the bug)
24:50 FIXING THE BUG
25:30 Finally, correct output!

monkey_see_monkey_do