コード例 #1
0
 public static Fixed16Dot16 Cos(Fixed16Dot16 angle)
 {
     return(Fixed16Dot16.FromRawValue((int)FT.FT_Cos((IntPtr)angle.Value)));
 }
コード例 #2
0
 public static Fixed16Dot16 FloorFix(Fixed16Dot16 a)
 {
     return(Fixed16Dot16.FromRawValue((int)FT.FT_FloorFix((IntPtr)a.Value)));
 }
コード例 #3
0
 public static Fixed16Dot16 DivFix(int a, Fixed16Dot16 b)
 {
     return(Fixed16Dot16.FromRawValue((int)FT.FT_DivFix((IntPtr)a, (IntPtr)b.Value)));
 }
コード例 #4
0
 public static Fixed16Dot16 MulDiv(Fixed16Dot16 a, Fixed16Dot16 b, Fixed16Dot16 c)
 {
     return(Fixed16Dot16.FromRawValue((int)FT.FT_MulDiv((IntPtr)a.Value, (IntPtr)b.Value, (IntPtr)c.Value)));
 }
コード例 #5
0
 public static Fixed16Dot16 AngleDiff(Fixed16Dot16 angle1, Fixed16Dot16 angle2)
 {
     return(Fixed16Dot16.FromRawValue((int)FT.FT_Angle_Diff((IntPtr)angle1.Value, (IntPtr)angle2.Value)));
 }
コード例 #6
0
 public static Fixed16Dot16 Atan2(Fixed16Dot16 x, Fixed16Dot16 y)
 {
     return(Fixed16Dot16.FromRawValue((int)FT.FT_Atan2((IntPtr)x.Value, (IntPtr)y.Value)));
 }