added fog.cpp example