POV-Ray : Newsgroups : povray.beta-test : Parse error with int Server Time
4 Nov 2024 17:32:38 EST (-0500)
  Parse error with int (Message 1 to 1 of 1)  
From: Tom Melly
Subject: Parse error with int
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.