multidimensional interface generator

bearophile via Digitalmars-d digitalmars-d at puremagic.com
Sat Jan 10 14:56:26 PST 2015


Vlad Levenfeld:

> 	auto tex1 = ℕ[0..100].by (ℕ[0..100]).map!((i,j) => (i+j)%2? 
> red: yellow).Texture;
> 	auto tex2 = ℕ[0..50].by (ℕ[0..50]).map!((i,j) => (i+j)%2? 
> blue: green).grid (100,100).Texture;
>
> 	tex1[50..75, 25..75] = tex2[0..25, 0..50];

The library seems nice, but I don't like Unicode identifiers.


> mostly workarounds for dmd bugs;

Are those bugs in Bugzilla?

Bye,
bearophile


More information about the Digitalmars-d mailing list