POV-Ray : Newsgroups : povray.off-topic : c++ template types for function : Re: c++ template types for function Server Time
25 Oct 2021 02:27:41 EDT (-0400)
  Re: c++ template types for function  
From: jr
Date: 30 Apr 2020 19:50:01
Message: <web.5eab6341ce0a4398898043f30@news.povray.org>
hi,

"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
eye)

> ...
> 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.