diff --git a/src/goxel.c b/src/goxel.c index ee44762b7..d7cf9da3b 100644 --- a/src/goxel.c +++ b/src/goxel.c @@ -975,53 +975,6 @@ static void render_axis_arrows(const float viewport[4]) vec3_mul(AXIS[i], size * 0.4, l); mat4_mul_vec3(rot, l, l); vec3_add(b, l, l); - - // X letter - if (i == 0) { - float t1[3], t2[3]; - - vec3_set(t1, l[0] - 3, l[1] + 7, l[2]); - vec3_set(t2, l[0] + 3, l[1] - 7, l[2]); - render_line(&goxel.rend, t1, t2, color, EFFECT_PROJ_SCREEN); - - vec3_set(t1, l[0] + 3, l[1] + 7, l[2]); - vec3_set(t2, l[0] - 3, l[1] - 7, l[2]); - render_line(&goxel.rend, t1, t2, color, EFFECT_PROJ_SCREEN); - } - - // Y letter - if (i == 1) { - float t1[3], t2[3]; - - vec3_set(t1, l[0] - 3, l[1] + 7, l[2]); - vec3_set(t2, l[0], l[1], l[2]); - render_line(&goxel.rend, t1, t2, color, EFFECT_PROJ_SCREEN); - - vec3_set(t1, l[0] + 3, l[1] + 7, l[2]); - vec3_set(t2, l[0], l[1], l[2]); - render_line(&goxel.rend, t1, t2, color, EFFECT_PROJ_SCREEN); - - vec3_set(t1, l[0], l[1] - 7, l[2]); - vec3_set(t2, l[0], l[1], l[2]); - render_line(&goxel.rend, t1, t2, color, EFFECT_PROJ_SCREEN); - } - - // Z letter - if (i == 2) { - float t1[3], t2[3]; - - vec3_set(t1, l[0] - 3, l[1] + 7, l[2]); - vec3_set(t2, l[0] + 3, l[1] + 7, l[2]); - render_line(&goxel.rend, t1, t2, color, EFFECT_PROJ_SCREEN); - - vec3_set(t1, l[0] + 3, l[1] + 7, l[2]); - vec3_set(t2, l[0] - 3, l[1] - 7, l[2]); - render_line(&goxel.rend, t1, t2, color, EFFECT_PROJ_SCREEN); - - vec3_set(t1, l[0] - 3, l[1] - 7, l[2]); - vec3_set(t2, l[0] + 3, l[1] - 7, l[2]); - render_line(&goxel.rend, t1, t2, color, EFFECT_PROJ_SCREEN); - } } }