POV-Ray : Newsgroups : povray.general : Function woes : Re: Function woes Server Time
3 Aug 2024 22:11:01 EDT (-0400)
  Re: Function woes  
From: ABX
Date: 16 Sep 2003 11:55:30
Message: <r8cemv4vmt4baukikc4r6c54p56hkj7e9q@4ax.com>
On Tue, 16 Sep 2003 17:47:26 +0200, Martin Magnusson
<lov### [at] frustratedhousewiveszzncom> wrote:
> Can anybody please tell me what's wrong with the following code?

You used not allowed syntax.

> POV stops at the "<" and says that it expected an operand instead.

And this is according to function syntax listed in documentation. If you could
look into syntax frame at http://www.povray.org/documentation/view/140/ there
is not vector mentioned in allowed _function_ syntax.

> How else can I measure the distance between two points?

Using f_r() function: f_r(X1-X2,Y1-Y2,Z1-Z2).

ABX


Post a reply to this message

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