POV-Ray : Newsgroups : povray.general : Function: Making negative numbers positive : Re: Function: Making negative numbers positive Server Time
28 Jun 2024 07:14:19 EDT (-0400)
  Re: Function: Making negative numbers positive  
From: Thomas de Groot
Date: 28 Nov 2015 03:59:50
Message: <56596d06$1@news.povray.org>
On 28-11-2015 9:24, Stephen wrote:
> On 11/28/2015 7:57 AM, Thomas de Groot wrote:
>> On 27-11-2015 22:12, Stephen wrote:
>>> On 11/27/2015 7:24 PM, Alain wrote:
>>>> Le 15-11-27 05:52, clipka a écrit :
>>>>> Am 27.11.2015 um 05:12 schrieb Alain:
>>>>>
>>>>>> You can also use the sellect() function:
>>>>>> #declare Abs = sellect(A, -A, A);
>>>>>
>>>>> The keyword is actually "select".
>>>>>
>>>> Oups
>>>
>>> Or Oops, in English. :-P
>>>
>>> PS I know that I have a cheek correcting anyone's spelling but I could
>>> not resist it.
>>>
>>
>> Carry on Stephen, carry on! ;-)
>>
>
> They will only stop me when they box me. :-)
>

That's the spirit!

-- 
Thomas


Post a reply to this message

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.