mirror of
https://github.com/Relintai/voxelman.git
synced 2024-11-20 10:47:19 +01:00
Fix typo.
This commit is contained in:
parent
5f9412f9fb
commit
7ea59f855a
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user