1
0
mirror of https://github.com/Refactorio/RedMew.git synced 2024-12-12 10:04:40 +02:00
RedMew/resources/vertices.lua
SimonFlapse f811da5b30 Fixed inverted height and width
Polygons are not being placed correctly
2019-06-14 23:19:21 +02:00

17 lines
442 B
Lua

local shapes = {
arrow_point = {
--triangle
{1, 1}, -- right edge g
{-1, 1}, -- left edge b
{0, 0}, -- top (pointer) a
--rectangle
{0.5, 1}, -- right inner top f
{0.5, 2}, -- right inner bottom e
{-0.5, 1}, -- left inner top c
{-0.5, 2} -- left inner bottom d
},
arrow = {{1, 0}, {-1, 0}, {0, -1}, {0.5, 0}, {0.5, 1}, {-0.5, 0}, {-0.5, 1}}
}
return shapes