Basic linear algebra primitives for basic graphics