You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/libraries/System.Private.CoreLib/src/System/Numerics/Plane.cs
+6Lines changed: 6 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -27,6 +27,7 @@ public struct Plane : IEquatable<Plane>
27
27
/// <param name="y">The Y component of the normal.</param>
28
28
/// <param name="z">The Z component of the normal.</param>
29
29
/// <param name="d">The distance of the plane along its normal from the origin.</param>
30
+
[Intrinsic]
30
31
publicPlane(floatx,floaty,floatz,floatd)
31
32
{
32
33
this=Vector128.Create(x,y,z,d).AsPlane();
@@ -35,13 +36,15 @@ public Plane(float x, float y, float z, float d)
35
36
/// <summary>Creates a <see cref="Plane" /> object from a specified normal and the distance along the normal from the origin.</summary>
36
37
/// <param name="normal">The plane's normal vector.</param>
37
38
/// <param name="d">The plane's distance from the origin along its normal vector.</param>
39
+
[Intrinsic]
38
40
publicPlane(Vector3normal,floatd)
39
41
{
40
42
this=newVector4(normal,d).AsPlane();
41
43
}
42
44
43
45
/// <summary>Creates a <see cref="Plane" /> object from a specified four-dimensional vector.</summary>
44
46
/// <param name="value">A vector whose first three elements describe the normal vector, and whose <see cref="Vector4.W" /> defines the distance along that normal from the origin.</param>
47
+
[Intrinsic]
45
48
publicPlane(Vector4value)
46
49
{
47
50
this=value.AsPlane();
@@ -103,6 +106,7 @@ public static Plane CreateFromVertices(Vector3 point1, Vector3 point2, Vector3 p
/// <param name="value2">The second plane to compare.</param>
213
218
/// <returns><see langword="true" /> if <paramref name="value1" /> and <paramref name="value2" /> are not equal; otherwise, <see langword="false" />.</returns>
214
219
/// <remarks>The <see cref="op_Inequality" /> method defines the operation of the inequality operator for <see cref="Plane" /> objects.</remarks>
/// <param name="value">The value to set the element to.</param>
27
28
/// <returns>A <see cref="Quaternion" /> with the value of the element at <paramref name="index" /> set to <paramref name="value" /> and the remaining elements set to the same value as that in <paramref name="quaternion" />.</returns>
28
29
/// <exception cref="ArgumentOutOfRangeException"><paramref name="index" /> was less than zero or greater than the number of elements.</exception>
/// <summary>Returns a value that indicates whether two quaternions are not equal.</summary>
136
149
/// <param name="value1">The first quaternion to compare.</param>
137
150
/// <param name="value2">The second quaternion to compare.</param>
138
151
/// <returns><see langword="true" /> if <paramref name="value1" /> and <paramref name="value2" /> are not equal; otherwise, <see langword="false" />.</returns>
/// <remarks>The <see cref="Quaternion.op_Multiply" /> method defines the operation of the multiplication operator for <see cref="Quaternion" /> objects.</remarks>
@@ -199,20 +214,23 @@ public float this[int index]
199
214
/// <param name="value2">The second quaternion.</param>
200
215
/// <returns>The quaternion containing the values that result from subtracting each element in <paramref name="value2" /> from its corresponding element in <paramref name="value1" />.</returns>
201
216
/// <remarks>The <see cref="op_Subtraction" /> method defines the operation of the subtraction operator for <see cref="Quaternion" /> objects.</remarks>
/// <summary>Reverses the sign of each component of the quaternion.</summary>
206
222
/// <param name="value">The quaternion to negate.</param>
207
223
/// <returns>The negated quaternion.</returns>
208
224
/// <remarks>The <see cref="op_UnaryNegation" /> method defines the operation of the unary negation operator for <see cref="Quaternion" /> objects.</remarks>
@@ -506,6 +530,7 @@ public static Quaternion Slerp(Quaternion quaternion1, Quaternion quaternion2, f
506
530
/// <param name="value1">The first quaternion.</param>
507
531
/// <param name="value2">The second quaternion.</param>
508
532
/// <returns>The quaternion containing the values that result from subtracting each element in <paramref name="value2" /> from its corresponding element in <paramref name="value1" />.</returns>
0 commit comments