armory3d/iron_examples

Geometry.hx fails with LockInt16 no longer exists

jrdoughty opened this issue · 3 comments

tried replacing it with:

	var vf = vertexBuffer.lock();
	vertices = new Int16Array(vf.byteLength);
	for(i in 0...vf.byteLength){vertices.setInt16(i,vf.getInt16(i));}

But I'm guessing converting Float32 to Int16 isn't quite so straight forward.

I found its using an old version of iron. I manually copied the latest iron over and Triangle/Mesh rendered. Texture shows the blue background, but no luck seing the textured cube. json doesn't appear to want to run.

armory3d/iron#119 looks like this might fix it. I'll have to test it another time

Should no longer be an issue nowadays. Thanks for report.