Function newplane
#include <macaw3d.h>int newplane(int texture, double tiles);
Makes a flat square 2 units across, lying at y = 0 and facing up. Use it for floors. It can only be seen from above unless you use twosided3d.
Parameters
textureint- The picture to cover it with. 0: plain light grey.
tilesdouble- How many times the texture repeats across it. 0 or less: once.
Returns int
The new square's number.
In Shapes, terrain and models, with newcube, newsphere, newcylinder, newcone, newterrain, newterrainfn, newmesh, newmodel, newsprite, newpivot.