Quick And Simple Fog Implementation [C++]