Skip to content

Commit

Permalink
Merge pull request #4887 from krishty/remove-stray-semicolon
Browse files Browse the repository at this point in the history
Remove Stray Semicolon
  • Loading branch information
kimkulling authored Jan 23, 2023
2 parents a9ce8a9 + 036f2b3 commit a7c4399
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion code/AssetLib/glTF2/glTF2Importer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -185,7 +185,6 @@ static void SetMaterialTextureProperty(std::vector<int> &embeddedTexIdxs, Asset
const ai_real rsin(sin(-transform.mRotation));
transform.mTranslation.x = (static_cast<ai_real>(0.5) * transform.mScaling.x) * (-rcos + rsin + 1) + prop.TextureTransformExt_t.offset[0];
transform.mTranslation.y = ((static_cast<ai_real>(0.5) * transform.mScaling.y) * (rsin + rcos - 1)) + 1 - transform.mScaling.y - prop.TextureTransformExt_t.offset[1];
;

mat->AddProperty(&transform, 1, _AI_MATKEY_UVTRANSFORM_BASE, texType, texSlot);
}
Expand Down

0 comments on commit a7c4399

Please sign in to comment.