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:
parent
3ba31b6aa0
commit
478857f149
2 changed files with 1 additions and 7 deletions
|
@ -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);
|
||||
|
|
|
@ -72,7 +72,7 @@ public:
|
|||
void deleteGrid();
|
||||
|
||||
|
||||
InterpolatedVector upperLeftTextureCoordinates, lowerRightTextureCoordinates;
|
||||
Vector upperLeftTextureCoordinates, lowerRightTextureCoordinates;
|
||||
|
||||
enum GridDrawOrder
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue