vec-math and prims update