Esempio n. 1
0
        void RenderExternalDMN(GameCamera gcam)
        {
            foreach (StaticMeshComp smc in mStaticComps)
            {
                StaticMesh sm = smc.mDrawObject as StaticMesh;
                if (sm == null)
                {
                    continue;
                }
                if (mVisibleSMC.Contains(smc))
                {
                    sm.DrawDMN(mGD.DC, mStaticMats);
                }
            }

            if (mPChar != null)
            {
                mPChar.DrawDMN(mGD.DC, mPMats);
            }

            mPB.DrawDMN(mGD.DC, gcam.View, gcam.Projection, gcam.Position);
        }
Esempio n. 2
0
 internal void DrawDMN()
 {
     mPB.DrawDMN(mGD.DC, mGD.GCam.View, mGD.GCam.Projection, mGD.GCam.Position);
 }