Fix IDE0055
This rule no longer appears to be buggy, so enforce it. Some of the automated fixes are adjusted in order to improve the result. #pragma directives have no option to control indentation, so remove them where possible.
This commit is contained in:
committed by
Pavel Penev
parent
60cbf79c9b
commit
360f24f609
@@ -194,7 +194,7 @@ namespace OpenRA.Mods.Cnc.Traits
|
||||
var correctionTransform = Util.MatrixMultiply(translateMtx, FlipMtx);
|
||||
var shadowCorrectionTransform = Util.MatrixMultiply(shadowTranslateMtx, ShadowScaleFlipMtx);
|
||||
|
||||
doRender.Add((sprite.Sheet, () =>
|
||||
void RenderFunc()
|
||||
{
|
||||
foreach (var m in models)
|
||||
{
|
||||
@@ -235,7 +235,9 @@ namespace OpenRA.Mods.Cnc.Traits
|
||||
ShadowAmbient, ShadowDiffuse, shadowPalette.TextureIndex, normals.TextureIndex);
|
||||
}
|
||||
}
|
||||
}));
|
||||
}
|
||||
|
||||
doRender.Add((sprite.Sheet, RenderFunc));
|
||||
|
||||
var screenLightVector = Util.MatrixVectorMultiply(invShadowTransform, ZVector);
|
||||
screenLightVector = Util.MatrixVectorMultiply(cameraTransform, screenLightVector);
|
||||
|
||||
Reference in New Issue
Block a user