Function waterinfo
#include <macawlevel.h>void waterinfo(
int level,
int i,
double *x0,
double *z0,
double *x1,
double *z1,
double *y
);
Gives where a water surface is.
Parameters
levelint- The level it's in.
iint- Which water, from 0.
x0double *- The address of a
doublefor its smallest x, or NULL. z0double *- The address of a
doublefor its smallest z, or NULL. x1double *- The address of a
doublefor its largest x, or NULL. z1double *- The address of a
doublefor its largest z, or NULL. ydouble *- The address of a
doublefor its height, or NULL.
In Water, with watercount, newwater, waterreflect, waterdraw, waterbake, waterbaked, waterreflections, watercamera.