Archive for the Programming Category

Covariance Matrix

A few examples (useful for tests) of computing the covariance matrix from a point cloud.

Left- and Right-Handed Coordinate Systems

Lately I’ve been working on the math library in my homebrew game engine, and as a result had to delve into the wonderful world of “handedness”. Here are some of my notes.

Reading PNG Images from Memory

As far as I can tell most everyone is interested in reading PNG image data from file (internally done in libpng via fread()). I thought: “Wow, that’s quite unfortunate.” and figured I’d write about it after I figured it out.

Image Library Resources

I have compiled a listing of resources I used while implementing my Image library. This will be updated as things progress.

Assert

The assert is one of the most important, indispensable, underused devices in a programmer’s toolkit.

One thing that I’ve found is that I can’t live without is the assert mechanism. In fact, it’s the first thing I wrote in my home codebase… so I’ve decided to compile a centralized synopsis to help give readers a detailed overview.