Quick Tip: Branchless Programming

Branchless programming, in a general sense, refers to the use of mathematical operations utilizing conditional bools (i.e. true or false) in place of if/else statements. Here’s a good primer that speaks to how it’s used and why it matters. The short version is this: if/else statements take a little bit of excess processing power becauseContinue reading “Quick Tip: Branchless Programming”

Case Study: Convex Hull

Picture this, ya goober: a huge set of points in space. You want to find the minimum wrapping shape that contains the entire set of points– the convex hull. The goal is to revolve the entire system of points– and have that wrapping shape update dynamically. Sure, you can try to do it the manualContinue reading “Case Study: Convex Hull”