POV-Ray : Newsgroups : povray.general : Printing out a vector (debug) : Re: Printing out a vector (debug) Server Time
4 Aug 2024 04:15:53 EDT (-0400)
  Re: Printing out a vector (debug)  
From: Ger Remmers
Date: 1 Aug 2003 10:42:44
Message: <3f2a7c64$1@news.povray.org>
didiw wrote:
> Hi,
> 
> I looked through all of the documentation I could find, but there was not
> anything about that:
> just for debugging purposes, I want to print out the values of a vector on
> e.g. the debug stream.
> 
> Can this be done in a single statement? If not, is it possible get the
> values of a vector? I did not find anything on that either or I may have
> overlooked it. With the last one, I know how to print the values.
> 
> Thanks in advance
> 

> 

Something like this ?

#warning concat("camera position = ",vstr(3, CamPos," - ",0,3),"\n")

--

Cheers

Ger


Post a reply to this message

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