tank-dev / tank

A 2D C++ game engine taking inspiration from FlashPunk
Boost Software License 1.0
12 stars 3 forks source link

Vector class strangeness #44

Closed Anstow closed 11 years ago

Anstow commented 11 years ago

For some reason the line

vector += vector2 * float;

doesn't compile. But

vector = vector + vector2* float;

does. Something todo with lvalues was the message.

qualiaa commented 11 years ago

I think, after testing, @DavidTruby's rewrite of the Vector class has fixed this.