On Monday, 6 January 2014 at 21:19:08 UTC, ponce wrote:
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

I hadn't ever looked at the D GFM library. That is really nice and pretty much how I'd expect it to be done, but nice that it is done.

Reply via email to