|
|
> Trevor G Quayle wrote:
>>> 7. Vector expressions with zero values can be shortened as follows:
>>
>> Also:
>> "<1,0,1>" becomes x+z
>> "<2,0,2>" becomes 2*(x+z)
> 7 chars -> 7 chars. not much of an improvement ;)
> I would suggest in stead: 2-2*y or 2-y-y
If you'll need such values *often*, you can #local xz=x+z; Then you can
use 2*xz which is only 4 chars.
Post a reply to this message
|
|