Revision f2085b96
Added by Leszek Koltunski over 3 years ago
src/main/java/org/distorted/examples/meshjoin/MeshJoinRenderer.java | ||
---|---|---|
38 | 38 |
import org.distorted.library.main.DistortedTexture; |
39 | 39 |
import org.distorted.library.mesh.MeshBase; |
40 | 40 |
import org.distorted.library.mesh.MeshJoined; |
41 |
import org.distorted.library.mesh.MeshTriangles;
|
|
41 |
import org.distorted.library.mesh.MeshTriangle; |
|
42 | 42 |
import org.distorted.library.type.Dynamic1D; |
43 | 43 |
import org.distorted.library.type.DynamicQuat; |
44 | 44 |
import org.distorted.library.type.Static1D; |
... | ... | |
210 | 210 |
final int MESHES=4; |
211 | 211 |
|
212 | 212 |
int andAssoc = 1; |
213 |
MeshBase[] meshes = new MeshTriangles[MESHES];
|
|
213 |
MeshBase[] meshes = new MeshTriangle[MESHES]; |
|
214 | 214 |
|
215 | 215 |
for(int i=0; i<MESHES; i++) |
216 | 216 |
{ |
217 |
meshes[i] = new MeshTriangles(5);
|
|
217 |
meshes[i] = new MeshTriangle(5); |
|
218 | 218 |
meshes[i].setEffectAssociation(0,andAssoc,0); |
219 | 219 |
andAssoc <<= 1; |
220 | 220 |
} |
Also available in: Unified diff
Rename Meshes.