Computer Graphics (MFC)-ZBuffer algorithm for cube filling