diff options
author | Elena of Valhalla'' Grandi <valhalla@trueelena.org> | 2014-06-22 15:38:23 +0200 |
---|---|---|
committer | Elena of Valhalla'' Grandi <valhalla@trueelena.org> | 2014-06-22 15:38:23 +0200 |
commit | f6877939ff386a340acea456b6e731bfe63abc68 (patch) | |
tree | f536adba73ba6d66d7ede6c736d57f0f9e1b0cd3 /lib | |
parent | ab368e8ee0697970d9c3a8ea2f9c17206e962697 (diff) |
Error message fixes
Diffstat (limited to 'lib')
-rw-r--r-- | lib/dice.scad | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/dice.scad b/lib/dice.scad index 05bb23e..e87bbb6 100644 --- a/lib/dice.scad +++ b/lib/dice.scad @@ -3,7 +3,7 @@ use <utils.scad> module d4(size=false, side=false) { l = side ? side : s2s_d4(size); if (l == false) { - echo("ERROR: d6: one of side or size should be defined"); + echo("ERROR: d4: one of side or size should be defined"); } r = sqrt(6)/4*l; c = r*2; @@ -45,7 +45,7 @@ module d6(size=false, side=false) { module d8(size=false, side=false) { l = side ? side : s2s_d8(size); if (l == false) { - echo("ERROR: d6: one of side or size should be defined"); + echo("ERROR: d8: one of side or size should be defined"); } r = sqrt(2)/2*l; c = r*2; |