fixed a bug
This commit is contained in:
parent
6e7530ff86
commit
57fe568a5e
|
@ -707,15 +707,15 @@
|
|||
(let ([bitmap (flip-shape atomic-shape)]
|
||||
[flipped? (flip-flipped? atomic-shape)])
|
||||
(make-flip flipped?
|
||||
(make-bitmap (ibitmap-raw-bitmap bitmap)
|
||||
(ibitmap-raw-mask bitmap)
|
||||
(bring-between (if flipped?
|
||||
(+ (ibitmap-angle bitmap) θ)
|
||||
(- (ibitmap-angle bitmap) θ))
|
||||
360)
|
||||
(ibitmap-x-scale bitmap)
|
||||
(ibitmap-y-scale bitmap)
|
||||
(make-hash))))]))
|
||||
(make-ibitmap (ibitmap-raw-bitmap bitmap)
|
||||
(ibitmap-raw-mask bitmap)
|
||||
(bring-between (if flipped?
|
||||
(+ (ibitmap-angle bitmap) θ)
|
||||
(- (ibitmap-angle bitmap) θ))
|
||||
360)
|
||||
(ibitmap-x-scale bitmap)
|
||||
(ibitmap-y-scale bitmap)
|
||||
(make-hash))))]))
|
||||
|
||||
;; rotate-point : point angle -> point
|
||||
(define (rotate-point p θ)
|
||||
|
|
Loading…
Reference in New Issue
Block a user