Asteroid progress
This commit is contained in:
18
core/src/mindustry/graphics/g3d/MultiMesh.java
Normal file
18
core/src/mindustry/graphics/g3d/MultiMesh.java
Normal 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);
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user