https://github.com/PluginIO/plugin-math-haxe/blob/master/src/plugin/math/algebra/Tuple.hx
var v1: AVector = new AVector( 0, 1, 2 );
var v2: AVector = new AVector( 10, 20, 30 );
var v3: AVector = v1 + v2;
trace( v3 );
// traces Main.hx:37: [object Tuple]Because of this disparity of class and abstract, I'm finding many conceptual gotchas. Take this for example, I've stripped everything down to the bare essentials (see attachment)
Why, when they abstracts are essentially the same, does the compiler consider that Foo has no x, y & z fields!? My goal here was to add another operator overload that would allow be to add a Vector3 to a Vector3 object AND a Foo to a Vector3. I mean, this has failed before I got there and I have no idea why. It is common practice to add a Vector to a Matrix for example, as well as to another Vector.