lwjglgamedev/lwjglbook-leg

c21-p3: "Mesh" cannot be cast to "InstancedMesh"

czmdav opened this issue · 1 comments

Running the code with Java 8 Update 121, 64 bit version gives the following Exception:

java.lang.ClassCastException: org.lwjglb.engine.graph.Mesh cannot be cast to org.lwjglb.engine.graph.InstancedMesh
at org.lwjglb.engine.graph.Renderer.renderParticles(Renderer.java:201)

Solved, never mind.