5 writes to W
System.Private.CoreLib (5)
src\libraries\System.Private.CoreLib\src\System\Numerics\Quaternion.cs (5)
237
q.
W
= s * 0.5f;
252
q.
W
= (matrix.M23 - matrix.M32) * invS;
261
q.
W
= (matrix.M31 - matrix.M13) * invS;
270
q.
W
= (matrix.M12 - matrix.M21) * invS;
295
result.
W
= cy * cp * cr + sy * sp * sr;
10 references to W
Microsoft.Maui.Essentials (2)
OrientationSensor\OrientationSensor.shared.cs (2)
192
$"{nameof(Orientation.
W
)}: {Orientation.
W
}";
System.Private.CoreLib (8)
src\libraries\System.Private.CoreLib\src\System\Numerics\Matrix4x4.Impl.cs (6)
312
float wz = quaternion.Z * quaternion.
W
;
314
float wy = quaternion.Y * quaternion.
W
;
316
float wx = quaternion.X * quaternion.
W
;
1498
float wx2 = rotation.
W
* x2;
1499
float wy2 = rotation.
W
* y2;
1500
float wz2 = rotation.
W
* 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
}}}";