
bmp1: ;reserve space and write bmp32 template
  rb (bmp32)+width*height*4 && bmp32 bmp1 width height

cam1: ;same for camera
  rb camera && camera cam1 bmp1  360 360 360  (-180)(-180)(-180)  0 0 0

points: ;defining some nodes ...

 .figure1:
   f08 -100,+100,+000 ,,
   f08 +100,+100,+000 ,,
   f08 +000,-100,+000 ,,
 ;  f08 -100,+100,+000 ,,
 .figure1.:
 .figure1.points.count = (.figure1. - .figure1) / point.szStruc

 .figure2:
 ;...
 .figure2.:
 .figure2.points.count = (.figure2. - .figure2) / point.szStruc

.roto:
  DrawOff;SYNC.bmp32.screen.disable

  RotateCamera cam1 3 2 3

  if f08[cam1+camera.x_rotate] = 0
     bmp32.flush bmp1 0x00'00'00
     sleep 1000
  endif

  DrawAsLines .figure1.points.count .figure1 cam1 0x00'a0'00
  DrawAsLines .figure2.points.count .figure2 cam1 0x00'ff'00

  bmp32.screen bmp1
  sleep .delay
  goto .roto
.delay=1000/25