Fix typo.

This commit is contained in:
Relintai 2022-02-26 23:37:44 +01:00
parent 5f9412f9fb
commit 7ea59f855a

View File

@ -84,7 +84,7 @@ _FORCE_INLINE_ Vector2 VoxelSurface::transform_uv_scaled(const VoxelSurfaceSides
Rect2 r = _rects[p_side];
float sizex = r.size.x / static_cast<float>(p_max);
float sizey = r.size.x / static_cast<float>(p_max);
float sizey = r.size.y / static_cast<float>(p_max);
uv.x *= sizex;
uv.y *= sizey;