Missed one.
This commit is contained in:
parent
be213a7828
commit
476d55b5dd
1 changed files with 1 additions and 1 deletions
|
@ -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) =
|
||||||
|
|
Loading…
Reference in a new issue