I’m used to making polygon tables that go from right to left which is pretty easy but going left to right? How is that done math?

Normally I would do stuff like this to go from right to left

```
local healthTrapezoid =
{
{ x = 30*wMod, y = 976*hMod };
{ x = (3.35*healthSmoothed)*wMod, y = 976*hMod };
{ x = (3.15*healthSmoothed)*wMod, y = 996*hMod };
{ x = 30*wMod, y = 996*hMod };
}
```

This goes from right to left but what math should I use if I want to go from left to right.

More specific I want this to go from left to right so if anyway could help me out telling me how to do the math (or do it themself and tell me how they did it)

```
local clip = (ammo_clip/ammo_max)*100;
local AmmoTrapezoid =
{
{ x = (17.05*clip)*wMod, y = 995*hMod };
{ x = (16.9*clip)*wMod, y = 975*hMod };
{ x = 1890*wMod, y = 975*hMod };
{ x = 1890*wMod, y = 995*hMod };
{ x = (17*clip)*wMod, y = 995*hMod };
}
```