File tree Expand file tree Collapse file tree 2 files changed +15
-3
lines changed
LispKit/Resources/Libraries/lispkit/draw Expand file tree Collapse file tree 2 files changed +15
-3
lines changed Original file line number Diff line number Diff line change 55
55
left
56
56
right
57
57
forward
58
- backward)
58
+ backward
59
+ arc)
59
60
60
61
(import (lispkit base)
61
- (lispkit draw))
62
+ (rename ( lispkit draw) (arc arcshape) ))
62
63
63
64
(begin
64
65
134
135
(let-optionals args ((turtle (current-turtle)))
135
136
(forward (- len) turtle)))
136
137
138
+ (define (arc degrees radius . args )
139
+ (let-optionals args ((turtle (current-turtle)))
140
+ (if (turtle-pen-down? turtle)
141
+ (with-drawing (turtle-drawing turtle)
142
+ (draw (arcshape (point (turtle-x turtle) (turtle-y turtle))
143
+ radius
144
+ (turtle-angle turtle)
145
+ (+ (radian degrees) (turtle-angle turtle))
146
+ (> degrees 0 )))))
147
+ (turn degrees turtle)))
148
+
137
149
(define (radian angle )
138
150
(inexact (/ (* angle pi) 180.0 )))
139
151
)
Original file line number Diff line number Diff line change @@ -45,7 +45,7 @@ public struct AppInfo {
45
45
public static let buildDate = { ( ) -> String in
46
46
let dateFormatter = DateFormatter ( )
47
47
dateFormatter. dateFormat = " yyyy-MM-dd HH:mm "
48
- return dateFormatter. string ( from: Date ( timeIntervalSince1970: 1700961329 ) )
48
+ return dateFormatter. string ( from: Date ( timeIntervalSince1970: 1701005297 ) )
49
49
} ( )
50
50
public static let buildAnnotation = " ( \( AppInfo . buildDate) ) "
51
51
}
You can’t perform that action at this time.
0 commit comments