protected MassiveBodyBase(DVector2 position, DVector2 velocity, IMassiveKernel kernel) : base(position, velocity, 0) { Kernel = kernel; }
public void Load(OpenCLProxy clProxy) { _kernel = new ClearKernel(); _computeKernel = clProxy.CreateKernel(_kernel); }
public void Load(OpenCLProxy clProxy) { _kernel = new ClearKernel(); _computeKernel = clProxy.CreateKernel(_kernel); }
protected MassiveBodyBase(DVector2 position, DVector2 velocity, IMassiveKernel kernel) : base(position, velocity, 0) { Kernel = kernel; }