Hey, I am looking for a math library for doing affine maths like interscting some primitives (point, line, halfspace, convex polyedron etc) I want to rasterize a triangle over a rectangular grid and it does not have to be fast in the first place. So I thought of just hitting these primitives. Anybody knows of such a library ?