Raphaƫl Junqueira wrote:
[snip]
object->declLength = i + 1;
- object->function = pFunction; if (NULL != pFunction) { for (i = 0; 0xFFFFFFFF != pFunction[i]; ++i) ; object->functionLength = i + 1; } else {
object->functionLength = 1; /* no Function defined use fixed function vertex processing */
object->functionLength = 1; // no Function defined use fixed function vertex processing
<nitpick> C++ style comments are strongly discouraged </nitpick>