public override long BlocksAffected(Level lvl, Vec3S32[] marks) { double R = Radius; double outer = ShapedDrawOp.EllipsoidVolume(R, R, R); double inner = ShapedDrawOp.EllipsoidVolume(R - 1, R - 1, R - 1); return((long)(outer - inner)); }
public override long BlocksAffected(Level lvl, Vec3S32[] marks) { double R = Radius; return((long)ShapedDrawOp.EllipsoidVolume(R, R, R)); }