Macaw OS C reference

Function gpu_vertex

#include <macawgpu.h>
void gpu_vertex(double x, double y, double z);

Sends a corner (a vertex), with the colour, texture place and normal set last.

Parameters

xdouble
The corner's x.
ydouble
The corner's y.
zdouble
The corner's z.

In Drawing a corner at a time, with gpu_begin, gpu_color, gpu_colorex, gpu_texcoord, gpu_normal, gpu_vertex4, gpu_done, gpu_end.