コード例 #1
0
ファイル: NeHeLesson5.cs プロジェクト: MichealWen/sharpmapv2
        public static void StartDemo()
        {
            NeHeLesson5 <T> app = new NeHeLesson5 <T>(PixelFormats.pix_format_rgba32, ERenderOrigin.OriginBottomLeft);

            app.Caption = "AGG Example. NeHe Lesson 5 (using a GL like interface)";

#if USE_OPENGL
            if (app.init(640, 480, (uint)WindowFlags.UseOpenGL))
#else
            if (app.init(640, 480, (uint)(WindowFlags.None)))
#endif
            {
                app.run();
            }
        }
コード例 #2
0
ファイル: NeHeLesson5.cs プロジェクト: MichealWen/sharpmapv2
 public static void Main(string[] args)
 {
     NeHeLesson5 <DoubleComponent> .StartDemo();
 }