[Opensim-users] can vectors not be subtracted?

Ethan Gardener eekee57 at fastmail.fm
Mon Nov 26 18:18:16 UTC 2018


On Mon, Nov 26, 2018, at 4:57 PM, Markus wrote:
> On 2018-11-26 11:47, Ethan Gardener wrote:
> >          vector v = <32., 1248., 87.65> - <35.623466, 1234.477051, 22.>;
> 
> You can subtract vectors, however something like "32." will cause a 
> syntax error. Write "32.0" or "32" instead. I think that is your problem.

That was the first thing I tried.  "32." should be accepted (ugly as it is) because it's very common to represent floating point constants in that way, and it is the format in which viewers copy vectors to the clipboard.


More information about the Opensim-users mailing list