Skip to content

CF_Rect

Category: math
GitHub: cute_math.h


Box that cannot rotate defined with integers instead of floats.

Struct Members Description
int x, y, w, h The position + w/h.

Remarks

Not used for collision detection, but still sometimes useful.

cf_render_settings_push_scissor
cf_render_settings_push_viewport