Closed haxiomic closed 1 year ago
can be fixed by reverting to generated swizzle fields and removing the assignment overloads
fixed in https://github.com/haxiomic/vector-math/tree/fix-swizzle-assign-op but with the cost of allocations for these operations can the inlining be improved in the compiler?
get a compiler failure when removing *=
to fix this issue: https://github.com/HaxeFoundation/haxe/issues/10150
For example
currently color will not change, because a new vector is created with the
.xy
, however in glsl it does changeThere's some ambiguity on how to interpret this in haxe; Is it this (ideal & glsl spec behavior)?
Or this?
(current haxe behavior because of
*=
overload)