mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2024-11-17 18:54:48 +00:00
3d::draw:: crosshair
This commit is contained in:
parent
33cc46e8d1
commit
c46bedd23b
@ -1056,6 +1056,9 @@ namespace mapeditor {
|
||||
void drawGrid() {
|
||||
if(DIM == 3) {
|
||||
queuecircleat(mapeditor::drawcell, 1, 0x80D080FF);
|
||||
color_t cols[4] = { 0x80D080FF, 0x80D080FF, 0xFFFFFF40, 0x00000040 };
|
||||
for(int i=0; i<4; i++)
|
||||
queueline(cpush(2, front_edit) * cpush0(i&1, 0.1), cpush(2, front_edit) * cpush0(i&1, -0.1), cols[i], -1, i < 2 ? PPR::LINE : PPR::SUPERLINE);
|
||||
return;
|
||||
}
|
||||
unsigned lightgrid = gridcolor;
|
||||
|
Loading…
Reference in New Issue
Block a user