Function gpu_waterdefaults
#include <macawgpu.h>void gpu_waterdefaults(gpu_wateropts *o);
Fills in every one of gpu_water's options with its usual value, so you can change only the ones you want. gpu_wateropts w = GPU_WATER_DEFAULTS; does the same.
Parameters
ogpu_wateropts *- Pass the address of a
gpu_wateropts, like&w. Every field is filled in.
In Reflecting water, with gpu_mask, gpu_clearmask, gpu_water.