summaryrefslogtreecommitdiff
path: root/metapost
diff options
context:
space:
mode:
authorMarius <mariausol@gmail.com>2013-01-22 20:00:20 +0200
committerMarius <mariausol@gmail.com>2013-01-22 20:00:20 +0200
commit8114597629901975313c670cf46e374e8052cd52 (patch)
treeedcbc03c6b2f611655df9624639ea1bc49f2d1f6 /metapost
parent4d27cc671b4add8a51b6e8196512625419b4080a (diff)
downloadcontext-8114597629901975313c670cf46e374e8052cd52.tar.gz
beta 2013.01.22 18:33
Diffstat (limited to 'metapost')
-rw-r--r--metapost/context/base/mp-grap.mpiv5
1 files changed, 3 insertions, 2 deletions
diff --git a/metapost/context/base/mp-grap.mpiv b/metapost/context/base/mp-grap.mpiv
index 757413a1c..98f537315 100644
--- a/metapost/context/base/mp-grap.mpiv
+++ b/metapost/context/base/mp-grap.mpiv
@@ -127,8 +127,9 @@ grap_sym[1] := fullcircle ; % circle
grap_sym[2] := (up -- down) scaled .5 ; % vertical bar
for i = 3 upto 9 : % polygons
- grap_sym[i] := for j = 0 upto i-1 :
- (up scaled .5) rotated (j*360/i) --
+ grap_sym[i] :=
+ for j = 0 upto i-1 :
+ (up scaled .5) rotated (360j/i) --
endfor cycle ;
endfor