Fix a collection of minor style violations.
This enables several new StyleCopAnalyzer rules to be enabled immediately during migration.
This commit is contained in:
@@ -70,6 +70,7 @@ namespace OpenRA
|
||||
var lsq = x * x + y * y + z * z + w * w;
|
||||
|
||||
// Quaternion components use 10 bits, so there's no risk of overflow
|
||||
#pragma warning disable SA1115 // Allow blank lines to visually separate matrix rows
|
||||
mtx = new Int32Matrix4x4(
|
||||
lsq - 2 * (y * y + z * z),
|
||||
2 * (x * y + z * w),
|
||||
@@ -90,6 +91,7 @@ namespace OpenRA
|
||||
0,
|
||||
0,
|
||||
lsq);
|
||||
#pragma warning restore SA1115
|
||||
}
|
||||
|
||||
public Int32Matrix4x4 AsMatrix()
|
||||
|
||||
Reference in New Issue
Block a user