Permalink
Browse files

Removed some cruft form second tutorial

  • Loading branch information...
Sean Grove
Sean Grove committed Apr 13, 2010
1 parent a954617 commit d0bda460355bcc32c55f0f2f32b48125d7a62922
Showing with 1 addition and 5 deletions.
  1. +1 −5 examples/nehe_tutorials_2.scm
@@ -2,10 +2,6 @@
(define *clear-color* '(0 0 0 0))
(define (game-loop delta)
- (let* ((total-time (- (current-milliseconds) *start-time*))
- (seconds (/ (inexact->exact (truncate total-time)) 1000))
- (current-texture (inexact->exact (truncate (remainder seconds 2)))))
-
;; Get a new matrix (same as pushing and popping the matrix)
(with-new-matrix
@@ -27,7 +23,7 @@
(vertex 1 1 0) ;; Top Right
(vertex 1 -1 0) ;; Bottom Right
(vertex -1 -1 0)) ;; Bottom Left
- )))
+ ))
;; No keyboard control in this tutorial
(define (handle-keyboard-state delta)

0 comments on commit d0bda46

Please sign in to comment.