1
0
Fork 0
mirror of https://github.com/AquariaOSE/Aquaria.git synced 2024-11-25 09:44:02 +00:00

Quad texture coords are never interpolated, make those a normal Vector

This commit is contained in:
fgenesis 2023-06-01 20:24:14 +02:00
parent 3ba31b6aa0
commit 478857f149
2 changed files with 1 additions and 7 deletions

View file

@ -643,12 +643,6 @@ void Quad::onUpdate(float dt)
else if (autoHeight == AUTO_VIRTUALHEIGHT)
height = core->getVirtualHeight();
refreshRepeatTextureToFill();
lowerRightTextureCoordinates.update(dt);
upperLeftTextureCoordinates.update(dt);
if (!drawGrid.empty() && alpha.x > 0 && alphaMod > 0)
{
updateGrid(dt);

View file

@ -72,7 +72,7 @@ public:
void deleteGrid();
InterpolatedVector upperLeftTextureCoordinates, lowerRightTextureCoordinates;
Vector upperLeftTextureCoordinates, lowerRightTextureCoordinates;
enum GridDrawOrder
{