POV-Ray : Newsgroups : povray.general : access object attributes : Re: access object attributes Server Time
26 Dec 2024 22:50:26 EST (-0500)
  Re: access object attributes  
From: Nekar Xenos
Date: 16 May 2013 23:24:15
Message: <op.ww7k2oraufxv4h@xena>
On Thu, 16 May 2013 23:17:42 +0200, Stephen <mca### [at] aolcom> wrote:

> On 16/05/2013 9:55 PM, Christian Froeschlin wrote:
>> an algebraic mystification that is easily resolved ;)
>>
>>    1.0 * min + 0.5 * (max - min)
>> = 1.0 * min + 0.5 * max - 0.5 * min
>> = 0.5 * min + 0.5 * max
>> = 0.5 * (min + max)
>
> You are right of course.
> But why put that "1.0 + " on the first line?
>
> I think of it (the first line), from my mid 20th Cent schooling, as:
> Half of the difference between max and min plus the "offset" of min.
>
It did help to clarify the issue though.

-- 
-Nekar Xenos-


Post a reply to this message

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