POV-Ray : Newsgroups : povray.general : condition parsed as vector : condition parsed as vector Server Time
8 Aug 2024 06:20:59 EDT (-0400)
  condition parsed as vector  
From: KalleK
Date: 15 Feb 2001 14:44:24
Message: <3a8c3198$1@news.povray.org>
Hi all Povers!
This is one of those "is it a bug?"-thingie.
I want to compare two vectors for a condition.
 #local V0 = x;
 #local Thing = ((V0=y):Foo?Bar);
This gives me an error : "Conditional must evaluate to a float."

And it's not done with #local Thing = Bar; :-)

Or another example for this thing is:
  #local T0 = x;
  #local T1 = 1;
  #local T1 = (T0=y);
This driggers the error : "Attempted to redifine float identifier as vector
identifier." but a
conditions should be represented as a boolean/float.

Do I have to compare every component seperated? Or what's the error?
Any solutions?

Thanx in advance!

cukk


Post a reply to this message

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