On Monday, 6 January 2014 at 21:14:12 UTC, David Nadlinger wrote:
On Monday, 6 January 2014 at 21:06:11 UTC, Ola Fosheim Grøstad wrote:
Yes, and it would be nice to have rich builtin swizzle support, which probably requires compiler support…

Probably not. Did you have a look at the existing D math libraries yet? IIRC even some of the D1 libraries already had solid swizzling support.

David

You can even do swizzling assignement nowadays: https://github.com/p0nce/gfm/blob/master/math/gfm/math/vector.d#L305

Reply via email to