A..19 18_Hinode_Tuki_1.c

18_Hinode_Tuki_1.c

   1 #include<stdio.h>
   2 #include<glsc3d_3.h>
   3 #define WINDOW_SIZE_X     (800)
   4 #define WINDOW_SIZE_Y     (400)
   5 int main()
   6 {
   7     g_init("Hinode_Tuki", WINDOW_SIZE_X, WINDOW_SIZE_Y);
   8     g_def_scale_2D(0, -4, 4, -2, 2,
   9                    0.0, 0.0,
  10                    WINDOW_SIZE_X, WINDOW_SIZE_Y);
  11 
  12     for (int i_time = 0;; i_time++)
  13     {
  14         g_cls();
  15         g_sel_scale(0);
  16         g_boundary();
  17         g_finish();
  18     }
  19     return 0;
  20 }



桂田 祐史