haxiomic / vector-math

Shader-math in haxe: library for GLSL vector operations, complete with swizzles and all
MIT License
39 stars 7 forks source link

Swizzle write should return value #9

Closed haxiomic closed 3 years ago

haxiomic commented 3 years ago

var v = color.xy = new Vec2(2., 2.);

haxiomic commented 3 years ago

see also #7

haxiomic commented 3 years ago

10