POV-Ray : Newsgroups : povray.general : Collision chance : Re: Collision chance Server Time
20 Apr 2024 09:35:13 EDT (-0400)
  Re: Collision chance  
From: ingo
Date: 24 Apr 2021 17:15:59
Message: <XnsAD16ECAC19303seed7@news.povray.org>
in news:web.60846401cab7490879819d986cde94f1@news.povray.org jr wrote:

> 'sed'

With the windows "pov ide" changes can be made fast and all the Unix tools 
run fine when using th eproper packages. It just that it all adds up, even 
if it is just a few characters.
#local ADSRarr[_adsr_decay][_adsr_base] = (ADSRarr[_adsr_sustain]
[_adsr_level] - ADSRarr[_adsr_target_ratio][_adsr_dr]) * (1 - ADSRarr
[_adsr_decay][_adsr_coef]);

#local ADSRarr[_decay][_base] = (ADSRarr[_sustain][_Level] - ADSRarr
[_target_ratio][_dr]) * (1 - ADSRarr[_decay][r_coef]);

In general I have no problems with collisions, but with arrays I'm not 
relley sure as I declare an array, the pass it to a macro where I change 
it using #local 'in place' without 'returning' anything.

Guess I'll give it a go and see waht goes wrong, in time,

Cheers,
Ingo


Post a reply to this message

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