Update ch3d.h