feat(tokenizer): allow negative numbers
This commit is contained in:
@@ -80,12 +80,12 @@
|
||||
(defun cam-fn (t c)
|
||||
(let '((pos . (point 0 4 8))
|
||||
(cnt . (point 0 0 0))
|
||||
(to . (point 1 1 1))
|
||||
(to . (point -3 3 -8))
|
||||
(up . (vector 0 1 0))
|
||||
(fovy . 40)
|
||||
(pct . (/ t 300.0)))
|
||||
(let '((tpos . (vadd pos (vmul (vsub to pos) pct)))
|
||||
(tfovy . (+ fovy (* 10 pct)))
|
||||
(tfovy . (+ fovy (* 40 pct)))
|
||||
)
|
||||
(camera-reposition c tpos cnt up fovy)
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user