POV-Ray : Newsgroups : povray.off-topic : c++ template types for function : Re: c++ template types for function Server Time
25 Apr 2024 02:17:15 EDT (-0400)
  Re: c++ template types for function  
From: jr
Date: 30 Apr 2020 18:40:00
Message: <web.5eab52dbce0a4398898043f30@news.povray.org>
"jr" <cre### [at] gmailcom> wrote:
> ...

additionally, to create "infrastructure", you may want to look at enumerations,
for instance the sensor names might be something like (C again):

enum sensorAddr {
  sensor_a = 0x48,
  sensor_b = 0x50
};
typedef enum sensorAddr sensorAddress;

or without values, letting the compiler use 0,..,N.  again, the typedef is just
convenience.

there's a website, no details but a "corny" url with "school" in it, which
provides detailed references for all common languages, with example code for
every keyword.

also, have no experience with GLM other than having needed it to get some s/ware
to compile.


regards, jr.


Post a reply to this message

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