Skip to content

cf_draw_projection

Category: draw
GitHub: cute_draw.h


Sets the projection matrix used by the draw API.

void cf_draw_projection(CF_M3x2 projection);

Remarks

You should not use this function unless you know what you're doing. You will need to call this again whenever the app is resized, as CF automatically sets the projection matrix upon resizing. See cf_app_was_resized. If you want to learn more you can try searching online for "model view projection" matrices, aka MVP matrices.

cf_app_was_resized