Update waterObject.cpp