mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2025-11-06 16:52:59 +00:00
2D3D:: draw stun stars on the correct level
This commit is contained in:
@@ -446,6 +446,7 @@ void drawStunStars(const transmatrix& V, int t) {
|
|||||||
#if CAP_SHAPES
|
#if CAP_SHAPES
|
||||||
for(int i=0; i<3*t; i++) {
|
for(int i=0; i<3*t; i++) {
|
||||||
transmatrix V2 = V * spin(M_PI * 2 * i / (3*t) + ptick(200));
|
transmatrix V2 = V * spin(M_PI * 2 * i / (3*t) + ptick(200));
|
||||||
|
if(GDIM == 3) V2 = V2 * zpush(geom3::HEAD);
|
||||||
queuepolyat(V2, shFlailBall, 0xFFFFFFFF, PPR::STUNSTARS);
|
queuepolyat(V2, shFlailBall, 0xFFFFFFFF, PPR::STUNSTARS);
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|||||||
Reference in New Issue
Block a user