jPCT - a 3d engine for Java > Bugs
creating Object3D with no indices
(1/1)
raft:
this call
--- Code: ---new Object3D(new float[12], null, null, -1);
--- End code ---
throws a
--- Code: ---Exception in thread "main" java.lang.ArrayIndexOutOfBoundsException: 4
at com.threed.jpct.Object3D.<init>(Unknown Source)
--- End code ---
I guess this is a bug
raft:
i guess not. coordinate array should be a multiple of 9.
so this works:
--- Code: ---new Object3D(new float[9], null, null, -1);
--- End code ---
EgonOlsen:
Yes...but i'll add some code that makes the engine fail more gracefully... ;)
Navigation
[0] Message Index
Go to full version