diff --git a/src/3d.c b/src/3d.c index 65b12ce..b001221 100644 --- a/src/3d.c +++ b/src/3d.c @@ -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;