Re: Procedural drawing using ndslice

2016-02-12 Thread Claude via Digitalmars-d-learn
Thanks for your replies, John and Ali. I wasn't sure I was clear. I'm going to try to see if I can fit Ali concept (totally lazy, which is what I was looking for) within ndslices, so that I can also use it in 3D and apply window() function to the result and mess around with it.

Re: Procedural drawing using ndslice

2016-02-11 Thread Ali Çehreli via Digitalmars-d-learn
On 02/11/2016 05:05 AM, Claude wrote: Hello, I come from the C world and try to do some procedural terrain generation, and I thought ndslice would help me to make things look clean, but I'm very new to those semantics and I need help. Here's my problem: I have a C-style rough implementation of

Re: Procedural drawing using ndslice

2016-02-11 Thread John Colvin via Digitalmars-d-learn
On Thursday, 11 February 2016 at 13:05:41 UTC, Claude wrote: Hello, I come from the C world and try to do some procedural terrain generation, and I thought ndslice would help me to make things look clean, but I'm very new to those semantics and I need help. Here's my problem: I have a C-styl

Procedural drawing using ndslice

2016-02-11 Thread Claude via Digitalmars-d-learn
Hello, I come from the C world and try to do some procedural terrain generation, and I thought ndslice would help me to make things look clean, but I'm very new to those semantics and I need help. Here's my problem: I have a C-style rough implementation of a function drawing a disk into a 2D