Пример #1
0
 public FrameRateCounter(Game game, Vector3 location, XNA_ShapeDrawer debugDraw)
     : base(game)
 {
     content     = new ContentManager(game.Services);
     m_location  = location;
     m_debugDraw = debugDraw;
 }
Пример #2
0
 public TriangleGlDrawcallback(XNA_ShapeDrawer shapeDrawer)
 {
     m_shapeDrawer = shapeDrawer;
 }
Пример #3
0
        private IndexedMatrix matrix;         // not included up till now

        public XNADrawcallback(XNA_ShapeDrawer shapeDrawer, ref IndexedMatrix m)
        {
            m_wireframe   = false;
            m_shapeDrawer = shapeDrawer;
            matrix        = m;
        }