From 6d5da708925afcb935e9c99ea104caa548dc7894 Mon Sep 17 00:00:00 2001 From: Colin Okay Date: Tue, 28 Jun 2022 17:35:50 -0500 Subject: [example] 03, spin faster! --- examples/03-font-render.lisp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/examples/03-font-render.lisp b/examples/03-font-render.lisp index ff68ac5..bf9c893 100644 --- a/examples/03-font-render.lisp +++ b/examples/03-font-render.lisp @@ -24,7 +24,7 @@ (when (< 900 (ww::unit-x target)) (setf (ww::unit-x target) -800)) - (incf (ww::unit-x target) 5))) + (incf (ww::unit-x target) 7))) (defvar *spin-table* (make-hash-table :synchronized t)) @@ -32,9 +32,9 @@ (ww::on-perframe () (let ((rot (gethash target *spin-table* 0.0))) - (if (< rot (* 7.5 pi)) + (if (< rot (* 20 pi)) (setf - (gethash target *spin-table*) (+ rot 0.2) + (gethash target *spin-table*) (+ rot 0.88) (ww::unit-rotation target) rot) (progn (setf (ww::unit-rotation target) 0.0) -- cgit v1.2.3