Missed one.

This commit is contained in:
Jarl Gullberg 2017-05-31 22:28:51 +02:00
parent be213a7828
commit 476d55b5dd
No known key found for this signature in database
GPG key ID: 750FF6F6BDA72D23

View file

@ -335,7 +335,7 @@ module Vector2 =
let scale = 1.0f / a.Length let scale = 1.0f / a.Length
let norm = Vector2(a.X * scale, a.Y * scale) let norm = Vector2(a.X * scale, a.Y * scale)
Assert.ApproximatelyEqual(norm, Vector3.Normalize(a)); Assert.ApproximatelyEqual(norm, Vector2.Normalize(a));
[<Property>] [<Property>]
let ``Fast approximate normalization by reference works`` (a : Vector2) = let ``Fast approximate normalization by reference works`` (a : Vector2) =