예제 #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;
        }