Update shared/cube.h