Japanese translation of message catalog for Sawfish Window-Manager
Revisão | c0d8532a1933c8fa76facd55d1afcfb6e6999f02 (tree) |
---|---|
Hora | 2000-05-11 02:58:45 |
Autor | john <john> |
Commiter | john |
(3d-rotate flatten): use inexact->exact on transformed coordinates
(fixes bug introduced by rounding functions now preserving inexactness)
@@ -198,8 +198,8 @@ | ||
198 | 198 | (- 3d-observer 3d-horizon)))) |
199 | 199 | (setq x (* x fact)) |
200 | 200 | (setq y (* y fact)) |
201 | - (cons (truncate (+ (* x 100) 200)) | |
202 | - (truncate (+ (* y 100) 200))))) | |
201 | + (cons (inexact->exact (truncate (+ (* x 100) 200))) | |
202 | + (inexact->exact (truncate (+ (* y 100) 200)))))) | |
203 | 203 | |
204 | 204 | (aset 3d-rot 0 (trunc (+ (aref 3d-rot 0) (aref 3d-rot-speed 0)))) |
205 | 205 | (aset 3d-rot 1 (trunc (+ (aref 3d-rot 1) (aref 3d-rot-speed 1)))) |
@@ -198,8 +198,8 @@ | ||
198 | 198 | (- 3d-observer 3d-horizon)))) |
199 | 199 | (setq x (* x fact)) |
200 | 200 | (setq y (* y fact)) |
201 | - (cons (truncate (+ (* x 100) 200)) | |
202 | - (truncate (+ (* y 100) 200))))) | |
201 | + (cons (inexact->exact (truncate (+ (* x 100) 200))) | |
202 | + (inexact->exact (truncate (+ (* y 100) 200)))))) | |
203 | 203 | |
204 | 204 | (aset 3d-rot 0 (trunc (+ (aref 3d-rot 0) (aref 3d-rot-speed 0)))) |
205 | 205 | (aset 3d-rot 1 (trunc (+ (aref 3d-rot 1) (aref 3d-rot-speed 1)))) |