jPCT - a 3d engine for Java > Bugs

ArrayIndexOutOfBoundsException at GenericVertexController.updateMesh

<< < (2/2)

EgonOlsen:
Try this jar: http://www.jpct.net/download/beta/jpct.jar. The problem was, that the controller implementation didn't require that there is a bounding box but it assumed that at least the space for it is reserved, which isn't true to "empty" objects like these. I hope this is fixed now. This release also fixes the rotate?()-methods.

raft:
empty objects created with new constructor still throws same exception ;)

--- Code: ---new Object3D(new float[0], new float[0], new int[0], TextureManager.TEXTURE_NOTFOUND);
--- End code ---

EgonOlsen:
Argh...my test case didn't call build(), which obviously makes a difference. I'll fix this tomorrow.

EgonOlsen:
I've updated the jar. Please give it a try.

raft:
it seems ok now, thanks ;D

Navigation

[0] Message Index

[*] Previous page

Go to full version