Okay, it was an error in my code. Everything is okay.
> 2013/9/19 Kyle Alexander Buan <
tar.s...@gmail.com>
>
>> Sergey, it seems VertexBuffer.setNormals(VertexArray) has a problem.
>> It says "Illegal argument". Here's a section of the code:
>>
>> var vertn = new [Byte]{ 0, 0, 127, 0, 0, 127, 0, 0, 127, 0, 0, 127, 0,
>> 0, -128, 0, 0, -128, 0, 0, -128, 0, 0, -128, 127, 0, 0, 127, 0, 0,
>> 127, 0, 0, 127, 0, 0, -128, 0, 0, -128, 0, 0, -128, 0, 0, -128, 0, 0,
>> 0, 127, 0, 0, 127, 0, 0, 127, 0, 0, 127, 0, 0, -128, 0, 0, -128, 0,
>> 0, -128, 0, 0, -128, 0 }
>> var vnorm = new VertexArray(vertn.len/3, 3, 1)
>> vnorm.set(0, vertn.len/3, vertn)
>> vb.setNormals(vnorm)
>>
>> vb.SetNormals() doesn't work.
>> vb is a VertexBuffer.
>>
>
> I checked and all functions mentioned here seem to be mapped correctly,
> can it be that error is in your code? Here is excerpt from the Javadoc
> for VertexBuffer.setNormals
>