POV-Ray : Newsgroups : povray.advanced-users : Calculating planet positions : Re: Calculating planet positions Server Time
26 Apr 2024 18:18:06 EDT (-0400)
  Re: Calculating planet positions  
From: Mike Horvath
Date: 16 Sep 2018 14:26:55
Message: <5b9ea06f$1@news.povray.org>
On 9/15/2018 4:12 PM, Bald Eagle wrote:
> clamp(V, Min, Max). A function that limits a value to a specific range, if it
> goes outside that range it is "clamped" to this range, wrapping around. As the
> input increases or decreases outside the given range, the output will repeatedly
> sweep through that range, making a "sawtooth" waveform.
> Parameters:
> 
> V = Input value.
> Min = Minimum of output range.
> Max = Maximum of output range.
> 
> 
> Bill
> 
> 

Clamp works, thanks!


Mike


Post a reply to this message

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