mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2025-05-04 08:14:08 +00:00
3d::draw:: crosshair
This commit is contained in:
parent
33cc46e8d1
commit
c46bedd23b
@ -1056,6 +1056,9 @@ namespace mapeditor {
|
|||||||
void drawGrid() {
|
void drawGrid() {
|
||||||
if(DIM == 3) {
|
if(DIM == 3) {
|
||||||
queuecircleat(mapeditor::drawcell, 1, 0x80D080FF);
|
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;
|
return;
|
||||||
}
|
}
|
||||||
unsigned lightgrid = gridcolor;
|
unsigned lightgrid = gridcolor;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user