Skip to content

Fix issues flagged by Policheck #1705

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Aug 22, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -185,7 +185,7 @@ internal override RayHitTestParameters RayFromViewportPoint(Point p, Size viewSi
viewportMatrix.ScalePrepend(new Vector3D(viewSize.Width/2,-viewSize.Height/2,1));
viewportMatrix.TranslatePrepend(new Vector3D(1,1,0));

// `First world-to-camera, then camera's projection, then normalized clip space to viewport.
// First, world-to-camera, then camera's projection, then normalized clip space to viewport.
rayParameters.HitTestProjectionMatrix =
worldToCamera *
viewportMatrix;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -203,7 +203,7 @@ internal override RayHitTestParameters RayFromViewportPoint(Point p, Size viewSi
viewportMatrix.ScalePrepend(new Vector3D(viewSize.Width/2, -viewSize.Height/2, 1));
viewportMatrix.TranslatePrepend(new Vector3D(1, 1, 0));

// `First world-to-camera, then camera's projection, then normalized clip space to viewport.
// First, world-to-camera, then camera's projection, then normalized clip space to viewport.
rayParameters.HitTestProjectionMatrix =
viewMatrix *
projectionMatrix *
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -210,7 +210,7 @@ internal override RayHitTestParameters RayFromViewportPoint(Point p, Size viewSi
viewportMatrix.ScalePrepend(new Vector3D(viewSize.Width/2, -viewSize.Height/2, 1));
viewportMatrix.TranslatePrepend(new Vector3D(1, 1, 0));

// `First world-to-camera, then camera's projection, then normalized clip space to viewport.
// First, world-to-camera, then camera's projection, then normalized clip space to viewport.
rayParameters.HitTestProjectionMatrix =
viewMatrix *
projectionMatrix *
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ internal sealed class FixedTextBuilder
new CultureInfo("zh-HANS"), // Chinese Simplified
new CultureInfo("zh-HANT"), // Chinese Traditional
new CultureInfo("zh-HK"), // Chinese Hong Kong SAR
new CultureInfo("zh-MO"), // Chinese Macau SAR
new CultureInfo("zh-MO"), // Chinese Macao SAR
new CultureInfo("zh-CN"), // Chinese China
new CultureInfo("zh-SG"), // Chinese Singapore
new CultureInfo("zh-TW"), // Chinese `Taiwan
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -804,12 +804,12 @@ public enum Key
OemTilde = Oem3,

/// <summary>
/// The ABNT_C1 (Brazilian) key.
/// The ABNT_C1 Portuguese (Brazilian) key.
/// </summary>
AbntC1,

/// <summary>
/// The ABNT_C2 (Brazilian) key.
/// The ABNT_C2 Portuguese (Brazilian) key.
/// </summary>
AbntC2,

Expand Down