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

Reply via email to