mirror of
https://github.com/AquariaOSE/Aquaria.git
synced 2025-07-03 06:24:32 +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)
|
else if (autoHeight == AUTO_VIRTUALHEIGHT)
|
||||||
height = core->getVirtualHeight();
|
height = core->getVirtualHeight();
|
||||||
|
|
||||||
|
|
||||||
refreshRepeatTextureToFill();
|
|
||||||
|
|
||||||
lowerRightTextureCoordinates.update(dt);
|
|
||||||
upperLeftTextureCoordinates.update(dt);
|
|
||||||
|
|
||||||
if (!drawGrid.empty() && alpha.x > 0 && alphaMod > 0)
|
if (!drawGrid.empty() && alpha.x > 0 && alphaMod > 0)
|
||||||
{
|
{
|
||||||
updateGrid(dt);
|
updateGrid(dt);
|
||||||
|
|
|
@ -72,7 +72,7 @@ public:
|
||||||
void deleteGrid();
|
void deleteGrid();
|
||||||
|
|
||||||
|
|
||||||
InterpolatedVector upperLeftTextureCoordinates, lowerRightTextureCoordinates;
|
Vector upperLeftTextureCoordinates, lowerRightTextureCoordinates;
|
||||||
|
|
||||||
enum GridDrawOrder
|
enum GridDrawOrder
|
||||||
{
|
{
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue