Cool! A minor typo if the author is here: the first example shows 2D integer vector code, but the declaration has the line
int64_t z; int64_t z;This is what I get for duplicating the examples across Godbolt and the post itself. It was originally 3D for no particular reason and I cut it to keep things short.