Search:

Type: Posts; User: zagibu

Search: Search took 0.00 seconds.

  1. Re: Error while playing with DrawArrays and face normals

    It seems your buffer sizes don't match, meaning you have more vertices than normals, texcoords or indices. This is just a wild guess, but I had this error several times when I forgot to rename or...
  2. Replies
    2
    Views
    2,103

    Re: Moving vertex buffers to prototype scope

    I've managed to do it by saving the this reference in a var, which is accessible within the anonymous function.
  3. Replies
    2
    Views
    2,103

    Moving vertex buffers to prototype scope

    I know it's more of a javascript-problem, but I have troubles moving the global "vertexBlaBuffer" variables over to the scope of the Geometry prototype:


    function Geometry(position, rotation,...
Results 1 to 3 of 3