[Fluxus] delta

Luis navarro del angel luisn30 at hotmail.com
Fri Nov 5 14:22:16 PDT 2010



Hi, 

When I use (delta) with (draw*) instead of (build*) it doesn't work, why does this happen? I think that the reason of this is that the (draw*) command needs to be refreshed every-frame and the (build*) one doesn't.

ex.

(clear)
(define (cube)
(rotate (* 45 (delta)) 0 0))
(draw-cube)); draw instead of build
(every-frame (cube))

And I understand that (delta) makes the time between each frame to be constant. But this will not be the same time for the (draw-cube) part.
I hope this make some sense.

Thanks, 

Luis
 		 	   		  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.pawfal.org/pipermail/fluxus-pawfal.org/attachments/20101105/a19eda84/attachment-0001.htm>


More information about the Fluxus mailing list