示例#1
0
        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));
        }
示例#2
0
        public override long BlocksAffected(Level lvl, Vec3S32[] marks)
        {
            double R = Radius;

            return((long)ShapedDrawOp.EllipsoidVolume(R, R, R));
        }