arrays and opengl?

Started by
0 comments, last by 3dmodelerguy 20 years, 1 month ago
i try to does this is a class for displaying coor of a triangle poly and get a error: color[ 3 ] = { 0, 0, 0 }; and get somthing like this: error : Syntax error "{" error: missing : before "{" error missing : after "}"
Advertisement
well if you arnt declaring i guess you need to type colour ={0,0,0};

or u have left out the declare in which you could just use
DWORD colour[] = {0,0,0};

This topic is closed to new replies.

Advertisement