compute viewmatrix from camera position
fix direction of vertices since ccw is the default