stackgl / glsl-transpiler

Transpile GLSL to JS
http://stackgl.github.io/glsl-transpiler/
175 stars 21 forks source link

Avoid repeating swizzles #18

Closed dy closed 8 years ago

dy commented 8 years ago

For now unoptimized swizzles have no other choice but to repeat each component creation. It should engage some function, obviously, if repeating is too complex.

dy commented 8 years ago

Done e54a0061557ab953231308e4c7d536c5645d960f