Example #1
0
    //////////////////////////////////////////////////////////////////////////////
    //                                                                          //
    //Unity Functions                                                           //
    //                                                                          //
    //////////////////////////////////////////////////////////////////////////////
    void Start()
    {
        //
        meshFilter = GetComponent <MeshFilter>();

        //
        mcBlob = new Example_5_MCBlob(meshFilter);
    }
Example #2
0
        public mcPoint(float x, float y, float z, int px, int py, int pz, Example_5_MCBlob thismcblob)
        {
            this.index = new float[3];
            index[0]   = x; index[1] = y; index[2] = z;

            this.px     = px;
            this.py     = py;
            this.pz     = pz;
            this.cntr   = 0;
            this.mcblob = thismcblob;
        }
    //////////////////////////////////////////////////////////////////////////////
    //                                                                          //
    //Unity Functions                                                           //
    //                                                                          //
    //////////////////////////////////////////////////////////////////////////////
    void Start()
    {
        //
        meshFilter = GetComponent <MeshFilter>();

        //
        mcBlob = new Example_5_MCBlob(meshFilter);

        //
        uiToggle.gameObject.SetActive(true);
    }