updating graphics/hierarchy.c

adding 3D cone primitive