added a bunch of d3d code, working on getting triangles working