1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2024-12-25 09:30:35 +00:00

2d3d:: compass

This commit is contained in:
Zeno Rogue 2019-05-10 00:56:02 +02:00
parent 7255cb4e0d
commit c297bbf52a

View File

@ -795,6 +795,7 @@ bool drawItemType(eItem it, cell *c, const transmatrix& V, color_t icol, int pti
}
if(DIM == 3) {
queuepoly(Vit, shRing, 0xFFFFFFFF);
if(WDIM == 2) V2 = mscale(V2, geom3::STUFF);
V2 = V2 * cspin(1, 2, M_PI * sintick(100) / 39);
queuepoly(V2, shCompass3, 0xFF0000FF);
queuepoly(V2 * pispin, shCompass3, 0x000000FF);