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

Normalize allocated vector #8

Closed haxiomic closed 3 years ago

haxiomic commented 3 years ago

In latest haxe nightly, normalize(vec2(...)) generated new Vec2 in js; should be heap allocation free

haxiomic commented 3 years ago

fixed in 40003c1a48f9869e1bb40690528d4ab9c6105813