POV-Ray : Newsgroups : povray.bugreports : unexpected evaluation of #if(...)? : unexpected evaluation of #if(...)? Server Time
14 Mar 2025 08:05:49 EDT (-0400)
  unexpected evaluation of #if(...)?  
From: ingo
Date: 7 Mar 2025 10:55:00
Message: <web.67cb169fa19c01a817bac71e8ffb8ce3@news.povray.org>
The following line results in an negative subscript error when Z = 0:

#if (Z > 0 & VoxelGrid[X][Y][Z-1] > 0)

I expected the evaluation to terminate, with false, at Z > 0.

Won't say it is a bug, it is just unexpected.

ingo


Post a reply to this message

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