public static F32Vec2 FromInt(int x, int y) { return(new F32Vec2(F32.FromInt(x), F32.FromInt(y))); }
public static F32Vec2 Max(F32Vec2 a, F32Vec2 b) { return(new F32Vec2(F32.Max(a.x, b.x), F32.Max(a.y, b.y))); }
public F32Vec2(F32 x, F32 y) { this.x = x; this.y = y; }
public static F32Vec2 NormalizeFastest(F32Vec2 a) { F32 ooLen = F32.RSqrtFastest(LengthSqr(a)); return(ooLen * a); }
public static F32Vec2 Lerp(F32Vec2 a, F32Vec2 b, F32 t) { return(a + t * (b - a)); }
public static F32Vec2 RcpFast(F32Vec2 a) { return(new F32Vec2(F32.RcpFast(a.x), F32.RcpFast(a.y))); }
public static F32 LengthFastest(F32Vec2 a) { return(F32.SqrtFastest(a.x * a.x + a.y * a.y)); }
public static F32Vec2 Pow(F32Vec2 a, F32 b) { return(new F32Vec2(F32.Pow(a.x, b), F32.Pow(a.y, b))); }
public static F32Vec2 Pow(F32 a, F32Vec2 b) { return(new F32Vec2(F32.Pow(a, b.x), F32.Pow(a, b.y))); }
public static F32Vec2 SinFast(F32Vec2 a) { return(new F32Vec2(F32.SinFast(a.x), F32.SinFast(a.y))); }
public static F32Vec2 CosFastest(F32Vec2 a) { return(new F32Vec2(F32.CosFastest(a.x), F32.CosFastest(a.y))); }
public static F32Vec2 Log2Fastest(F32Vec2 a) { return(new F32Vec2(F32.Log2Fastest(a.x), F32.Log2Fastest(a.y))); }
public static F32Vec2 Log(F32Vec2 a) { return(new F32Vec2(F32.Log(a.x), F32.Log(a.y))); }
public static F32Vec2 Exp2Fast(F32Vec2 a) { return(new F32Vec2(F32.Exp2Fast(a.x), F32.Exp2Fast(a.y))); }
public static F32Vec2 FromFloat(float x, float y) { return(new F32Vec2(F32.FromFloat(x), F32.FromFloat(y))); }
public static F32Vec2 PowFastest(F32Vec2 a, F32Vec2 b) { return(new F32Vec2(F32.PowFastest(a.x, b.x), F32.PowFastest(a.y, b.y))); }
public static F32Vec2 FromDouble(double x, double y) { return(new F32Vec2(F32.FromDouble(x), F32.FromDouble(y))); }
public static F32Vec2 RSqrtFastest(F32Vec2 a) { return(new F32Vec2(F32.RSqrtFastest(a.x), F32.RSqrtFastest(a.y))); }