POV-Ray : Newsgroups : povray.documentation.inbuilt : adj_range2() function-- question Server Time
28 Mar 2024 16:54:05 EDT (-0400)
  adj_range2() function-- question (Message 1 to 2 of 2)  
From: Kenneth
Subject: adj_range2() function-- question
Date: 24 Jul 2017 20:35:01
Message: <web.597691ba975e8111883fb31c0@news.povray.org>
In   3.8.1.1.13.1 Float functions and macros,   in the in-built documentation,
it has this:

"adj_range2(V, InMin, InMax, OutMin, OutMax)    Like f_range(), but adjusts
input values in the range [InMin, InMax] to the range [OutMin, OutMax]."

But there's no f_range() in POV-Ray, that I can find. Is that an old,
no-longer-included function?

OR, is it meant to refer to the function directly above it in the docs,

adj_range(V, Min, Max)

?

This latter possibility seems to be the more logical one, IMO.


Post a reply to this message

From: Jim Holsenback
Subject: Re: adj_range2() function-- question
Date: 26 Jul 2017 06:49:24
Message: <597873b4$1@news.povray.org>
On 7/24/2017 8:32 PM, Kenneth wrote:
> In   3.8.1.1.13.1 Float functions and macros,   in the in-built documentation,
> it has this:
> 
> "adj_range2(V, InMin, InMax, OutMin, OutMax)    Like f_range(), but adjusts
> input values in the range [InMin, InMax] to the range [OutMin, OutMax]."
> 
> But there's no f_range() in POV-Ray, that I can find. Is that an old,
> no-longer-included function?
> 
> OR, is it meant to refer to the function directly above it in the docs,
> 
> adj_range(V, Min, Max)
> 
> ?
> 
> This latter possibility seems to be the more logical one, IMO.

yeah i think it's a typo as well ... fixed
http://wiki.povray.org/content/Reference:Math.inc#Float_functions_and_macros


Post a reply to this message

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