diff options
author | clifford <clifford@b57f626f-c46c-0410-a088-ec61d464b74c> | 2009-10-19 18:27:47 (GMT) |
---|---|---|
committer | clifford <clifford@b57f626f-c46c-0410-a088-ec61d464b74c> | 2009-10-19 18:27:47 (GMT) |
commit | 05b2eb1b90620025ba9242477b0df688745dd0db (patch) | |
tree | cfa890ef8e4bb5182ba988cf817c482e2fc639e1 /value.cc | |
parent | 7c998717209c4ea3cd8edf329baa3e5040d15266 (diff) |
Clifford Wolf:
Fixed scalar subtraction
Fixed handling of -/+ scalar prefix
Fixed vector handling [0 1 2] doesn't work anymore now
git-svn-id: http://svn.clifford.at/openscad/trunk@109 b57f626f-c46c-0410-a088-ec61d464b74c
Diffstat (limited to 'value.cc')
-rw-r--r-- | value.cc | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -122,7 +122,7 @@ Value Value::operator - (const Value &v) const return r; } if (type == NUMBER && v.type == NUMBER) { - return Value(num + v.num); + return Value(num - v.num); } return Value(); } |