POV-Ray : Newsgroups : povray.beta-test : Parse error with int : Parse error with int Server Time
4 Nov 2024 12:59:54 EST (-0500)
  Parse error with int  
From: Tom Melly
Date: 16 Oct 2001 17:58:43
Message: <3bccad93@news.povray.org>
This is under beta 5 (win95), but another user has reported that it also
generates an error under beta 6.

Isn't int allowed in iso-functions or is this a bug?

#include "functions.inc"
#declare fn_X = function(x,y,z) {int(x) }
isosurface {
  function { fn_X(x, y, z) }
  contained_by { box { -1, 1 } }
  accuracy 0.001
  max_gradient 4
  pigment{Yellow}
}


Post a reply to this message

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