Macaw OS C reference

Function gpu_frontface

#include <macawgpu.h>
void gpu_frontface(const char *way);

Says which way round a triangle's corners go, on the screen, when you're looking at its front.

Parameters

wayconst char *
"ccw" for anticlockwise (how it starts), or "cw" for clockwise.

In State, with gpu_enable, gpu_disable, gpu_isenabled, gpu_depthmask, gpu_cullface, gpu_viewport, gpu_clearcolor, gpu_clear, gpu_reset.