public static Vec4D GetFromPool(float x = 0f, float y = 0f, float vx = 0f, float vy = 0f) { Vec4D vec = Pool.Acquire(); vec.SetTo(x, y, vx, vy); return(vec); }
public static void RecycleToPool(Vec4D vec) { Pool.Release(vec); }