Function levelbrushbox
#include <macawlevel.h>int levelbrushbox(
int level,
int b,
double *x0,
double *y0,
double *z0,
double *x1,
double *y1,
double *z1
);
Gives a brush's corners: a box's own, or the box round a shaped brush.
Parameters
levelint- The level.
bint- Which brush, from 0.
x0double *- The address of a
doublefor the smallest x, or NULL. y0double *- The address of a
doublefor the smallest y, or NULL. z0double *- The address of a
doublefor the smallest z, or NULL. x1double *- The address of a
doublefor the largest x, or NULL. y1double *- The address of a
doublefor the largest y, or NULL. z1double *- The address of a
doublefor the largest z, or NULL.
Returns int
1 for a box, 2 for a shaped brush, or 0 if there's no such brush.
In Building from code: brushes, with levelbrushcount, leveladdbox, leveladdshape, levelremovebrush, levelbrushtexture, levelbrushwater, levelbrushglow, levelbrushshine.