• R/O
  • HTTP
  • SSH
  • HTTPS

Commit

Tags
No Tags

Frequently used words (click to add to your profile)

javac++androidlinuxc#windowsobjective-ccocoa誰得qtpythonphprubygameguibathyscaphec計画中(planning stage)翻訳omegatframeworktwitterdomtestvb.netdirectxゲームエンジンbtronarduinopreviewer

Japanese translation of message catalog for Sawfish Window-Manager


Commit MetaInfo

Revisãoc0d8532a1933c8fa76facd55d1afcfb6e6999f02 (tree)
Hora2000-05-11 02:58:45
Autorjohn <john>
Commiterjohn

Mensagem de Log

(3d-rotate flatten): use inexact->exact on transformed coordinates
(fixes bug introduced by rounding functions now preserving inexactness)

Mudança Sumário

Diff

--- a/lisp/3d-hack.jl
+++ b/lisp/3d-hack.jl
@@ -198,8 +198,8 @@
198198 (- 3d-observer 3d-horizon))))
199199 (setq x (* x fact))
200200 (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))))))
203203
204204 (aset 3d-rot 0 (trunc (+ (aref 3d-rot 0) (aref 3d-rot-speed 0))))
205205 (aset 3d-rot 1 (trunc (+ (aref 3d-rot 1) (aref 3d-rot-speed 1))))
--- a/lisp/sawfish/wm/ext/3d-hack.jl
+++ b/lisp/sawfish/wm/ext/3d-hack.jl
@@ -198,8 +198,8 @@
198198 (- 3d-observer 3d-horizon))))
199199 (setq x (* x fact))
200200 (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))))))
203203
204204 (aset 3d-rot 0 (trunc (+ (aref 3d-rot 0) (aref 3d-rot-speed 0))))
205205 (aset 3d-rot 1 (trunc (+ (aref 3d-rot 1) (aref 3d-rot-speed 1))))