revert 补充某些必要的文件中的某些不该出现的文件

This commit is contained in:
SmallMain 2022-06-27 18:01:47 +08:00
parent 35da03cbdd
commit f4599764fe

View File

@ -98,8 +98,8 @@ void MeshAttachment::updateUVs() {
return; return;
} }
case 270: { case 270: {
float textureWidth = _regionHeight / (_regionV2 - _regionV); float textureWidth = _regionWidth / (_regionU2 - _regionU);
float textureHeight = _regionWidth / (_regionU2 - _regionU); float textureHeight = _regionHeight / (_regionV2 - _regionV);
u -= _regionOffsetY / textureWidth; u -= _regionOffsetY / textureWidth;
v -= _regionOffsetX / textureHeight; v -= _regionOffsetX / textureHeight;
width = _regionOriginalHeight / textureWidth; width = _regionOriginalHeight / textureWidth;