Update 3d.cpp

Added comments that make sense