14 references to Sin
Microsoft.Maui.Essentials (2)
Compass\LowPassFilter.shared.cs (2)
16
sin += MathF.
Sin
(radians);
26
sin -= MathF.
Sin
(old);
Microsoft.Maui.Graphics (9)
GeometryUtil.cs (5)
52
var x = MathF.Cos(radians) * point.X - MathF.
Sin
(radians) * point.Y;
53
var y = MathF.
Sin
(radians) * point.X + MathF.Cos(radians) * point.Y;
61
var x = center.X + MathF.Cos(radians) * (point.X - center.X) - MathF.
Sin
(radians) * (point.Y - center.Y);
62
var y = center.Y + MathF.
Sin
(radians) * (point.X - center.X) + MathF.Cos(radians) * (point.Y - center.Y);
94
var sin = MathF.
Sin
(angleInRadians);
PathArcExtensions.cs (4)
29
float sinAngle = MathF.
Sin
(angle);
128
float sinbeta = MathF.
Sin
(beta);
136
float sinangle = MathF.
Sin
(angle - theta / 2);
145
sinangle = MathF.
Sin
(angle);
System.Private.CoreLib (3)
src\libraries\System.Private.CoreLib\src\System\Half.cs (1)
2244
public static Half Sin(Half x) => (Half)MathF.
Sin
((float)x);
src\libraries\System.Private.CoreLib\src\System\Single.cs (1)
1814
public static float Sin(float x) => MathF.
Sin
(x);
src\System\MathF.CoreCLR.cs (1)
97
return (
Sin
(x), Cos(x));