1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2025-01-23 23:47:00 +00:00

Scale hourglass horizontally.

This commit is contained in:
Jacob Mandelson 2022-09-13 11:02:57 -07:00
parent da822fc4e9
commit 45207e3ba7

View File

@ -2422,26 +2422,28 @@ NEWSHAPE, 415, 1, 1, 0.166, 0, 0.619, 0.186, 0.619, 0.348, 0.13, 0.171, -0.161,
// shHourglass // shHourglass
#define x (-0.22) #define x (-0.22)
#define y (-0.30) #define y (-0.30)
#define ysc (1.3)
NEWSHAPE, 416, 1,2, NEWSHAPE, 416, 1,2,
0.065+x, 0.244+y, 0.065+x, ysc*(0.244+y),
0.065+x, 0.366+y, 0.065+x, ysc*(0.366+y),
0.095+x, 0.366+y, 0.095+x, ysc*(0.366+y),
0.095+x, 0.348+y, 0.095+x, ysc*(0.348+y),
0.132+x, 0.349+y, 0.132+x, ysc*(0.349+y),
0.171+x, 0.342+y, 0.171+x, ysc*(0.342+y),
0.198+x, 0.327+y, 0.198+x, ysc*(0.327+y),
0.244+x, 0.269+y, 0.244+x, ysc*(0.269+y),
-0.244-x, -0.269-y, -0.244-x, ysc*(-0.269-y),
-0.198-x, -0.327-y, -0.198-x, ysc*(-0.327-y),
-0.171-x, -0.342-y, -0.171-x, ysc*(-0.342-y),
-0.132-x, -0.349-y, -0.132-x, ysc*(-0.349-y),
-0.095-x, -0.348-y, -0.095-x, ysc*(-0.348-y),
-0.095-x, -0.366-y, -0.095-x, ysc*(-0.366-y),
-0.065-x, -0.366-y, -0.065-x, ysc*(-0.366-y),
-0.065-x, -0.244-y, -0.065-x, ysc*(-0.244-y),
#undef x #undef x
#undef y #undef y
#undef ysc
NEWSHAPE, NEWSHAPE NEWSHAPE, NEWSHAPE
}; };