Blog
Some posts about programming related things.
-
Handle lookup container (sparse set)
2024-01-07
An overview of the handle lookup container (often referred to as a _sparse set_) and an analysis of one implementation.
-
Sorting indirectly
2023-08-19
An overview of how to sort a collection of elements that may be split over several arrays.
-
Pointers, references, auto and an analogy
2023-08-10
A look at how type deduction with `auto` (and templates) works the way it does when dealing with references and pointers.
-
Reverse Z (and why it's so awesome)
2023-08-06
A look at why switching to reverse z for a perspective projection matrix has such a dramatic effect.
-
Column vectors, row vectors, and matrices (for games)
2022-12-26
An overview of how to think about column vectors, row vectors and matrices.
-
Portal rendering with offscreen render targets
2019-04-21
A walkthrough of how to create a portal effect in Unity.