mirror of
https://github.com/smallmain/cocos-enhance-kit.git
synced 2024-12-26 11:48:29 +00:00
revert 补充某些必要的文件中的某些不该出现的文件
This commit is contained in:
parent
35da03cbdd
commit
f4599764fe
@ -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;
|
||||||
|
Loading…
Reference in New Issue
Block a user