> 2. Re: C++ class templates in Arduino - problems (Jon Wolfe)
> 3. Re: C++ class templates in Arduino - problems (Robert Mackie)
Simplifying the program to just this:
#include "geometry.h"
const uint32_t imageWidth = 4095;
const uint32_t imageHeight = 4095;
// define the frame-buffer and the depth-buffer. Initialize depth buffer
// to far clipping plane.
Vec3<unsigned char> *frameBuffer = new Vec3<unsigned char>[imageWidth *
imageHeight];
for (uint32_t i = 0; i < imageWidth * imageHeight; ++i) frameBuffer[i] =
Vec3<unsigned char>(255);
// ----------------------------------------------
// setup
// ----------------------------------------------
void setup() {
}
// ----------------------------------------------
// main loop
// ----------------------------------------------
void loop() {
}
still results in the same compile error. Moving the new line into the include
gives the same error.
Alex
--
"The theater of noise is proof of our potential."
|\ | (¯ \/ |¯\ |V| |\ ¯|¯ |¯) | \/ | | | |¯\ (¯ /¯ /\ |V|
|-||_ (_ /\ |_/ @| | |-| | | \ | /\ |^| | |_/ (_ . \_ \/ | |
You won't find me on Facebook.
_______________________________________________
Triangle, NC Embedded Computing mailing list
To post message: [email protected]
List info: http://mail.triembed.org/mailman/listinfo/triembed_triembed.org
TriEmbed web site: http://TriEmbed.org
To unsubscribe, click link and send a blank message:
mailto:[email protected]?subject=unsubscribe