com.daxie.xops.bd1.BD1UniformGenerator Maven / Gradle / Ivy
package com.daxie.xops.bd1;
import java.util.Random;
import com.daxie.basis.vector.Vector;
import com.daxie.basis.vector.VectorFunctions;
/**
* Generates blocks according to the uniform distribution.
* @author Daba
*
*/
public class BD1UniformGenerator extends BD1Generator{
public BD1UniformGenerator() {
}
@Override
public void GenerateCubes(int block_num,float edge_length,float scale) {
Random random=new Random();
BD1Creator bd1_creator=this.GetBD1Creator();
for(int i=0;i
© 2015 - 2025 Weber Informatics LLC | Privacy Policy