Exemplo n.º 1
0
    public override bool Prepare(MegaModContext mc)
    {
        if (offsets == null || offsets.Length != mc.mod.verts.Length)
        {
            offsets = new Vector3[mc.mod.verts.Length];
        }

        msize = MegaUtils.SmallestValue(mc.bbox.Size());
        return(true);
    }