void InitProjectionGrid()
    {
        ReleaseProjectionGrid();

        mProjectionGrid = new ProjectionGrid();
        mProjectionGrid.Initial(OceanDrawer);
    }
 void ReleaseProjectionGrid()
 {
     if (mProjectionGrid != null)
     {
         mProjectionGrid.Release();
         mProjectionGrid = null;
     }
 }
Exemple #3
0
    protected override void Draw(Vector3 _lookAt, Material _drawer)
    {
        if (mProjectionGrid == null)
        {
            mProjectionGrid = new ProjectionGrid();
            mProjectionGrid.Initial(_drawer);
        }

        mProjectionGrid.Draw();
    }