5 writes to W
System.Private.CoreLib (5)
src\libraries\System.Private.CoreLib\src\System\Numerics\Quaternion.cs (5)
237q.W = s * 0.5f; 252q.W = (matrix.M23 - matrix.M32) * invS; 261q.W = (matrix.M31 - matrix.M13) * invS; 270q.W = (matrix.M12 - matrix.M21) * invS; 295result.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)
312float wz = quaternion.Z * quaternion.W; 314float wy = quaternion.Y * quaternion.W; 316float wx = quaternion.X * quaternion.W; 1498float wx2 = rotation.W * x2; 1499float wy2 = rotation.W * y2; 1500float wz2 = rotation.W * z2;
src\libraries\System.Private.CoreLib\src\System\Numerics\Quaternion.cs (2)
442public override readonly int GetHashCode() => HashCode.Combine(X, Y, Z, W); 457public override readonly string ToString() => $"{{X:{X} Y:{Y} Z:{Z} W:{W}}}";