Asteroid progress

This commit is contained in:
Anuken
2021-06-11 19:59:18 -04:00
parent 1eebb48baa
commit c4b1bf3e55
12 changed files with 102 additions and 46 deletions

View File

@@ -0,0 +1,18 @@
package mindustry.graphics.g3d;
import arc.math.geom.*;
public class MultiMesh implements GenericMesh{
GenericMesh[] meshes;
public MultiMesh(GenericMesh... meshes){
this.meshes = meshes;
}
@Override
public void render(Mat3D projection, Mat3D transform){
for(var v : meshes){
v.render(projection, transform);
}
}
}