From 742baabb89ff3e22ad6ef5e91c0a4c8c7873f09a Mon Sep 17 00:00:00 2001 From: cancel Date: Sat, 29 Dec 2018 19:51:28 +0900 Subject: [PATCH] Cleanup --- sim.c | 13 ------------- 1 file changed, 13 deletions(-) diff --git a/sim.c b/sim.c index 5e06441..9b7130a 100644 --- a/sim.c +++ b/sim.c @@ -164,19 +164,6 @@ ORCA_FORCE_NO_INLINE static void oper_copy_columns(Glyph* restrict gbuffer, Mark* restrict mbuffer, Usz height, Usz width, Usz y, Usz x, Isz in_delta_y, Isz in_delta_x, Isz out_delta_y, Isz out_delta_x, Isz count, bool stun) { - //Isz in_y0 = (Isz)y + in_delta_y; - //Isz out_y0 = (Isz)y + out_delta_y; - //if (in_y0 < 0 || (Usz)in_y0 >= height || out_y0 < 0 || (Usz)out_y0 >= height) - // return; - //Glyph* in_row = gbuffer + width * (Usz)in_y0; - //Glyph* out_row = gbuffer + width * (Usz)out_y0; - //for (Usz i = 0; i < count; ++i) { - // Isz in_x0 = (Isz)x + in_delta_x + i; - // Isz out_x0 = (Isz)x + out_delta_x + i; - // if (out_x0 < 0 || (Usz)out_x0 >= width) continue; - // Glyph g = in_x0 < 0 || (Usz)in_x0 >= width ? '.' : *(in_row + (Usz)in_x0); - // out_row[(Usz)out_x0] = g; - //} for (Isz i = 0; i < count; ++i) { Glyph g = gbuffer_peek_relative(gbuffer, height, width, y, x, in_delta_y, in_delta_x + i);