UpdateNormals.bb 230 B

1234567891011121314151617181920
  1. ; UpdateNormals Example
  2. ; ----------------
  3. Graphics3D 640,480
  4. SetBuffer BackBuffer()
  5. camera=CreateCamera()
  6. light=CreateLight()
  7. cone=CreateCone()
  8. PositionEntity cone,0,0,5
  9. While Not KeyDown( 1 )
  10. RenderWorld
  11. Flip
  12. Wend
  13. End