public static Fix Acos(Fix f)
 {
     return(Asin(Sqrt(1 - f * f)));
 }
 public static Fix Cos(Fix i)
 {
     return(Sin(i + Fix.Create(6435, false)));
 }
 public static Fix Tan(Fix i)
 {
     return(Sin(i) / Cos(i));
 }
 public static Fix Clamp(Fix f, Fix min, Fix max)
 {
     return(Min(Max(f, min), max));
 }
 public static Fix Max(Fix one, Fix other)
 {
     return(one.Raw > other.Raw ? one : other);
 }
 public static Fix Min(Fix one, Fix other)
 {
     return(one.Raw < other.Raw ? one : other);
 }
 public static Fix Atan(Fix f)
 {
     return(Asin(f / Sqrt(Fix.One + (f * f))));
 }
Esempio n. 8
0
 public static Fix Mul(Fix f1, Fix f2)
 {
     return(f1 * f2);
 }