Surface primitives

To make it easy to get up and running and for debugging Reliquish provides a number of built in surface primitives.

r_primitive_surface

void r_primitive_surface(float pos_x, float pos_y, float pos_z, float size_x, float size_y, float red, float green, float blue, float alpha);

Description: draws a mono colored rectangle.

r_primitive_image

void r_primitive_image(float pos_x, float pos_y, float pos_z, float size_x, float size_y, float u_start, float v_start, float u_end, float v_end, uint texture_id, float red, float green, float blue, float alpha);

Description: draws a textured and shaded rectangle.