Joshua Beck <jxb091...@utdallas.edu> wrote:

> Or even better:
> +    for(i = 0; i<  144; i+=4)
> +    {
> +        vertices[i  ] *= width;
> +        vertices[++i] *= height;
> +        vertices[++i] *= depth;
> +    }

There shouild be i + 1 and i + 2 instead of two ++i otherwise
the loop index gets corrupted.

-- 
Dmitry.


Reply via email to