This way of doing the curve #defines seems nicer.