Skip to content

Commit f2f5975

Browse files
authored
Add Lerp algorithm info (#4503)
* add breaking change info
1 parent 3615fd9 commit f2f5975

File tree

2 files changed

+18
-2
lines changed

2 files changed

+18
-2
lines changed

xml/System.Numerics/Vector2.xml

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -951,7 +951,15 @@
951951
<param name="amount">A value between 0 and 1 that indicates the weight of <paramref name="value2" />.</param>
952952
<summary>Performs a linear interpolation between two vectors based on the given weighting.</summary>
953953
<returns>The interpolated vector.</returns>
954-
<remarks>To be added.</remarks>
954+
<remarks>
955+
<format type="text/markdown"><![CDATA[
956+
957+
## Remarks
958+
959+
The behavior of this method changed in .NET 5.0. For more information, see [Behavior change for Vector2.Lerp and Vector4.Lerp](/dotnet/core/compatibility/3.1-5.0#behavior-change-for-vector2lerp-and-vector4lerp).
960+
961+
]]></format>
962+
</remarks>
955963
</Docs>
956964
</Member>
957965
<Member MemberName="Max">

xml/System.Numerics/Vector4.xml

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1037,7 +1037,15 @@
10371037
<param name="amount">A value between 0 and 1 that indicates the weight of <paramref name="value2" />.</param>
10381038
<summary>Performs a linear interpolation between two vectors based on the given weighting.</summary>
10391039
<returns>The interpolated vector.</returns>
1040-
<remarks>To be added.</remarks>
1040+
<remarks>
1041+
<format type="text/markdown"><![CDATA[
1042+
1043+
## Remarks
1044+
1045+
The behavior of this method changed in .NET 5.0. For more information, see [Behavior change for Vector2.Lerp and Vector4.Lerp](/dotnet/core/compatibility/3.1-5.0#behavior-change-for-vector2lerp-and-vector4lerp).
1046+
1047+
]]></format>
1048+
</remarks>
10411049
</Docs>
10421050
</Member>
10431051
<Member MemberName="Max">

0 commit comments

Comments
 (0)