5 writes to X
System.Private.CoreLib (5)
src\libraries\System.Private.CoreLib\src\System\Numerics\Quaternion.cs (5)
239
q.
X
= (matrix.M23 - matrix.M32) * s;
249
q.
X
= 0.5f * s;
258
q.
X
= (matrix.M21 + matrix.M12) * invS;
267
q.
X
= (matrix.M31 + matrix.M13) * invS;
292
result.
X
= cy * sp * cr + sy * cp * sr;
14 references to X
Microsoft.Maui.Essentials (2)
OrientationSensor\OrientationSensor.shared.cs (2)
189
$"{nameof(Orientation.
X
)}: {Orientation.
X
}, " +
System.Private.CoreLib (12)
src\libraries\System.Private.CoreLib\src\System\Numerics\Matrix4x4.Impl.cs (10)
307
float xx = quaternion.
X
* quaternion.
X
;
311
float xy = quaternion.
X
* quaternion.Y;
313
float xz = quaternion.Z * quaternion.
X
;
316
float wx = quaternion.
X
* quaternion.W;
1494
float x2 = rotation.
X
+ rotation.
X
;
1502
float xx2 = rotation.
X
* x2;
1503
float xy2 = rotation.
X
* y2;
1504
float xz2 = rotation.
X
* z2;
src\libraries\System.Private.CoreLib\src\System\Numerics\Quaternion.cs (2)
442
public override readonly int GetHashCode() => HashCode.Combine(
X
, Y, Z, W);
457
public override readonly string ToString() => $"{{X:{
X
} Y:{Y} Z:{Z} W:{W}}}";