Remove todos

This commit is contained in:
Fierelier 2023-08-20 06:53:18 +02:00
parent 94cf57ffee
commit 271aabc4cb

View File

@ -86,16 +86,16 @@ void engine_3d_rendertarget_draw_quad(
int height = engine_rendertarget -> height;
struct ENGINE_VECTOR_TEX texoutput;
engine_position_2d_to_tex(&texoutput,v20.x,v20.y,width - 1,height - 1,0); // TODO: do not clamp
engine_position_2d_to_tex(&texoutput,v20.x,v20.y,width - 1,height - 1,0);
int ssx0 = texoutput.x;
int ssy0 = texoutput.y;
engine_position_2d_to_tex(&texoutput,v21.x,v21.y,width - 1,height - 1,0); // TODO: do not clamp
engine_position_2d_to_tex(&texoutput,v21.x,v21.y,width - 1,height - 1,0);
int sex0 = texoutput.x;
int sey0 = texoutput.y;
engine_position_2d_to_tex(&texoutput,v22.x,v22.y,width - 1,height - 1,0); // TODO: do not clamp
engine_position_2d_to_tex(&texoutput,v22.x,v22.y,width - 1,height - 1,0);
int ssx1 = texoutput.x;
int ssy1 = texoutput.y;
engine_position_2d_to_tex(&texoutput,v23.x,v23.y,width - 1,height - 1,0); // TODO: do not clamp
engine_position_2d_to_tex(&texoutput,v23.x,v23.y,width - 1,height - 1,0);
int sex1 = texoutput.x;
int sey1 = texoutput.y;