mirror of
https://github.com/smallmain/cocos-enhance-kit.git
synced 2025-10-09 11:05:24 +00:00
revert 补充某些必要的文件中的某些不该出现的文件
This commit is contained in:
@@ -98,8 +98,8 @@ void MeshAttachment::updateUVs() {
|
||||
return;
|
||||
}
|
||||
case 270: {
|
||||
float textureWidth = _regionHeight / (_regionV2 - _regionV);
|
||||
float textureHeight = _regionWidth / (_regionU2 - _regionU);
|
||||
float textureWidth = _regionWidth / (_regionU2 - _regionU);
|
||||
float textureHeight = _regionHeight / (_regionV2 - _regionV);
|
||||
u -= _regionOffsetY / textureWidth;
|
||||
v -= _regionOffsetX / textureHeight;
|
||||
width = _regionOriginalHeight / textureWidth;
|
||||
|
Reference in New Issue
Block a user