POV-Ray : Newsgroups : povray.general : Github repository with useful macros : Re: Github repository with useful macros Server Time
4 May 2024 11:41:16 EDT (-0400)
  Re: Github repository with useful macros  
From: jr
Date: 22 May 2021 07:35:00
Message: <web.60a8ebf0985098ff79819d986cde94f1@news.povray.org>
hi,

"Tor Olav Kristensen" <tor### [at] TOBEREMOVEDgmailcom> wrote:
> "Cousin Ricky" <rickysttATyahooDOTcom> wrote:
> > "Tor Olav Kristensen" <tor### [at] TOBEREMOVEDgmailcom> wrote:
> > > I don't think that it is possible to investigate the number of components in a
> > > vector without it being promoted automatically or having POV-Ray halt on an
> > > error.
> >
> > It is possible to do certain tests.  For example, ...
> ...
> That's clever sorcery !
>
> Here's my take on it:
> ...
>               #debug "5D or scalar"
> ...

thinking that what your + CR's (ingenious) posts demonstrate is just how much an
'istype()' like function is needed in SDL.  (I've a feeling it would not be too
difficult to implement, a developer's perspective would be good)


regards, jr.


Post a reply to this message

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