I have now a new problem?
I want use a vec3-array to store 12 vertices.
But wenn I run this program, I have got warnings:
vec3 vertices; vertices = calcPoint(); vertices = calcPoint(); ... vertices = calcPoint();
Warnings: x 12 times
Warning C7050 :“vertices” might be used before being initialized.
My Questions are:
1, Did i realy do something wrong?
2, If I was wrong, how can I initialize a vec3 Array like: