summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorsiddharth ravikumar <s@ricketyspace.net>2022-06-13 20:31:40 -0400
committersiddharth ravikumar <s@ricketyspace.net>2022-06-13 20:31:40 -0400
commit9dfe891335881717fb06e20707389464c82b05d3 (patch)
tree6d8f5758eabdd39a2d38e44f80a3b615caf262b0
parent4ce415d7264d8b6db516a5572815d8d5ffaa3227 (diff)
ex: 50.rkt: implement counterclockwise-270
-rw-r--r--ex/2/50.rkt7
1 files changed, 7 insertions, 0 deletions
diff --git a/ex/2/50.rkt b/ex/2/50.rkt
index 6db473d..a4f2433 100644
--- a/ex/2/50.rkt
+++ b/ex/2/50.rkt
@@ -36,3 +36,10 @@
(make-vect 1.0 1.0)
(make-vect 0.0 1.0)
(make-vect 1.0 0.0)))
+
+
+(define (counterclockwise-270 painter)
+ (transform-painter painter
+ (make-vect 1.0 0.0)
+ (make-vect 1.0 1.0)
+ (make-vect 0.0 0.0)))