mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2025-01-23 15:36:59 +00:00
Scale hourglass horizontally.
This commit is contained in:
parent
da822fc4e9
commit
45207e3ba7
34
polygons.cpp
34
polygons.cpp
@ -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
|
||||
#define x (-0.22)
|
||||
#define y (-0.30)
|
||||
#define ysc (1.3)
|
||||
NEWSHAPE, 416, 1,2,
|
||||
0.065+x, 0.244+y,
|
||||
0.065+x, 0.366+y,
|
||||
0.095+x, 0.366+y,
|
||||
0.095+x, 0.348+y,
|
||||
0.132+x, 0.349+y,
|
||||
0.171+x, 0.342+y,
|
||||
0.198+x, 0.327+y,
|
||||
0.244+x, 0.269+y,
|
||||
-0.244-x, -0.269-y,
|
||||
-0.198-x, -0.327-y,
|
||||
-0.171-x, -0.342-y,
|
||||
-0.132-x, -0.349-y,
|
||||
-0.095-x, -0.348-y,
|
||||
-0.095-x, -0.366-y,
|
||||
-0.065-x, -0.366-y,
|
||||
-0.065-x, -0.244-y,
|
||||
0.065+x, ysc*(0.244+y),
|
||||
0.065+x, ysc*(0.366+y),
|
||||
0.095+x, ysc*(0.366+y),
|
||||
0.095+x, ysc*(0.348+y),
|
||||
0.132+x, ysc*(0.349+y),
|
||||
0.171+x, ysc*(0.342+y),
|
||||
0.198+x, ysc*(0.327+y),
|
||||
0.244+x, ysc*(0.269+y),
|
||||
-0.244-x, ysc*(-0.269-y),
|
||||
-0.198-x, ysc*(-0.327-y),
|
||||
-0.171-x, ysc*(-0.342-y),
|
||||
-0.132-x, ysc*(-0.349-y),
|
||||
-0.095-x, ysc*(-0.348-y),
|
||||
-0.095-x, ysc*(-0.366-y),
|
||||
-0.065-x, ysc*(-0.366-y),
|
||||
-0.065-x, ysc*(-0.244-y),
|
||||
|
||||
#undef x
|
||||
#undef y
|
||||
#undef ysc
|
||||
|
||||
NEWSHAPE, NEWSHAPE
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user