POV-Ray : Newsgroups : povray.off-topic : c++ template types for function : Re: c++ template types for function Server Time
28 Sep 2022 04:46:07 EDT (-0400)
  Re: c++ template types for function  
From: jr
Date: 30 Apr 2020 19:50:01
Message: <web.5eab6341ce0a4398898043f30@news.povray.org>

"Bald Eagle" <cre### [at] netscapenet> wrote:
> "jr" <cre### [at] gmailcom> wrote:
> > this looks so wrong.  if I read your intent correctly, in C, that would need to
> > be something like:
> Yeah, but it's code copied right out of the functioning .h file, so...

(some languages seem to be "write-only".  for me C++, like Perl, assaults the

> ...
> I mean, if there's a way to keep all of the functions mostly the way they are
> and somehow get them to work on a sensor argument passed to them...

if you want, use email to send the header and further detail/explanation.

> > can't really comment on the remaining question.  I would have thoughr though
> > that there are enough arduino projects on the web to .. analyse and peruse.
> I would have thought so too, but I've spent several fruitless hours searching
> for exactly that and ... no joy.  You'd think that SparkFun or Texas Instruments
> would have _some_ sort of information on how to hook up multiple sensors, but
> that seems to be conspicuously absent.

strange.  (lateral approach) maybe search through Raspberry PI projects
involving sensors, arduino might get used in those.

regards, jr.

Post a reply to this message

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