Open GoogleCodeExporter opened 9 years ago
Issue 503 has been merged into this issue.
Original comment by ShadowIs...@gmail.com
on 4 Jun 2012 at 3:24
Issue 502 has been merged into this issue.
Original comment by ShadowIs...@gmail.com
on 4 Jun 2012 at 3:25
After discussion with the jME3 team, it was decided that any jME3 method that
manipulates buffers will treat the buffer as if its position was zero. In
addition, the method may inadvertently force the buffer's position to become
zero. Although this can be seen as a bug from user perspective, it is expected
behavior as the buffer's position value is not used in any of the methods. This
applies to data in both VertexBuffers and Images.
As for limit, it was decided that all jME3 API methods and renderers shall use
the limit() to determine buffer size. Under no circumstances may the clear() or
capacity() method be used to either set limit to capacity or determine buffer
size.
Any methods that use capacity() shall now use limit(), and any methods that use
clear() shall now use rewind().
Original comment by ShadowIs...@gmail.com
on 4 Jun 2012 at 3:47
Original comment by ShadowIs...@gmail.com
on 9 Jul 2012 at 3:25
Original comment by ShadowIs...@gmail.com
on 6 Sep 2012 at 6:11
Original issue reported on code.google.com by
ShadowIs...@gmail.com
on 4 Jun 2012 at 3:24