Macaw OS C reference

Function drawmeshm

#include <macaw3d.h>
void drawmeshm(
    int mesh,
    double a,
    double b,
    double c,
    double d,
    double e,
    double f,
    double g,
    double h,
    double i,
    double x,
    double y,
    double z
);

Draws a mesh with a 3 by 3 transform of your own, to stretch or squash it or turn it in a way you've worked out. Each corner's new x is a*x + b*y + c*z, its y is d*x + e*y + f*z and its z is g*x + h*y + i*z, then it's moved to x, y, z.

Parameters

meshint
The mesh's number.
adouble
The first row's first number: how much a corner's x adds to its new x.
bdouble
The first row's second number: how much a corner's y adds to its new x.
cdouble
The first row's third number: how much a corner's z adds to its new x.
ddouble
The second row's first number: how much a corner's x adds to its new y.
edouble
The second row's second number: how much a corner's y adds to its new y.
fdouble
The second row's third number: how much a corner's z adds to its new y.
gdouble
The third row's first number: how much a corner's x adds to its new z.
hdouble
The third row's second number: how much a corner's y adds to its new z.
idouble
The third row's third number: how much a corner's z adds to its new z.
xdouble
Where it goes across, in world units.
ydouble
How high it goes.
zdouble
Where it goes along z.

In Drawing meshes, with billboard3d, drawmesh, meshtexture, meshsize, freemesh.