Increase range of star field a bit more

This commit is contained in:
Dan Ballard 2011-10-08 20:49:30 -07:00
parent a66a2fc879
commit fc4d2559fa
1 changed files with 4 additions and 4 deletions

View File

@ -153,15 +153,15 @@
(defun populate-world ()
(setf *world*
(make-array 101 :initial-contents
(loop for i from 0 to 100 collecting
(make-array 201 :initial-contents
(loop for i from 0 to 200 collecting
(let ((e (make-instance 'game-object
:model (make-instance 'model
:vertices (vertices *diamond-model*)
:faces (faces *diamond-model*))
:body (make-instance 'body
:coords (vector (- (random 75) 37) (- (random 75) 37) (- (random 200) ))
:coords (vector (- (random 75) 37) (- (random 75) 37) (- (random 400) ))
:angles (vector (random 360) (random 360) (random 360))))))
(setf (colors (model e)) (make-2d-array 3 3 `((,(random 255) ,(random 255) ,(random 255)) (,(random 255) ,(random 255) ,(random 255)) (,(random 255) ,(random 255) ,(random 255)))))
(setf (face-colors (model e)) (make-2d-array 8 3 '((0 1 1) (0 1 1) (0 1 1) (0 1 1) (1 2 1) (1 2 1) (1 2 1) (1 2 1))))
@ -229,4 +229,4 @@
#+(and sbcl (not sb-thread)) (restartable
(sb-sys:serve-all-events 0))
(restartable (sim-step))))))
;(draw)))))
;(draw)))))