private FT_Cos ( |
||
angle | ||
Résultat |
public static Fixed16Dot16 Cos(Fixed16Dot16 angle) { return(Fixed16Dot16.FromRawValue((int)FT.FT_Cos((IntPtr)angle.Value))); }
/// <summary> /// Return the cosinus of a given angle in fixed point format. /// </summary> /// <remarks><para> /// NOTE: This is a native FreeType function. /// </para><para> /// If you need both the sinus and cosinus for a given angle, use the function <see cref="FTVector.Unit"/>. /// </para></remarks> /// <returns>The cosinus value.</returns> public Fixed16Dot16 Cos() { return(Fixed16Dot16.FromRawValue((int)FT.FT_Cos((IntPtr)this.Value))); }