21 years, 2 months ago
Highlights
Community contributions featuredOK,So you'd have something like this:In globals.h:extern int test; /* declare the extern variable */in file 1:int test = 1; /* define the extern variable */in file 2:#include "g…
21 years, 2 months ago
My function has as a parameter a pointer to an array. I'm not sure what the proper syntax is to access an element of the array the pointer is referencing: int Region :: bounding…
20 years, 11 months ago
21 years, 5 months ago
I was going through the Pixie (renderman compliant renderer) source code. In the ri.h header file, which gets sourced by the file that contains function main(), all of the varia…
21 years, 2 months ago
I was reading up on bump mapping and was wondering why you needed to construct the two temp vectors (A and B) from the cross products of the surface normal and the Pu and P…
21 years, 5 months ago
Latest Activity
See all in DiscussionsMy function has as a parameter a pointer to an array. I'm not sure what the proper syntax is to …
20 years, 11 months ago
OK,So you'd have something like this:In globals.h:extern int test; /* declare the extern variable */in file 1:int test = 1; …
21 years, 2 months ago
I was going through the Pixie (renderman compliant renderer) source code. In the ri.h header file, which gets sourced by …
21 years, 2 months ago