Hacker News new | ask | show | jobs
by kungfooman 3930 days ago
What's the usage? Can't even see classes for Vector3, Quaternions etc.
1 comments

This library doesn't seem to be focused on matrix math for computer graphics.

FWIW, you don't tend to see a significant gain from writing those individual types as SIMD. The gain is from operations over large arrays of numbers. E.g. each vector has only one component type in it (e.g. you have vectors of [x0, x1, x2, x3] and [y0, y1, y2, y3] instead of [x0, y0, z0, w0] etc).

Here's a set of slides that elaborate further on what I mean and explain why: https://deplinenoise.files.wordpress.com/2015/03/gdc2015_afr...