com.daxie.xops.bd1.BD1NormalGenerator 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 normal distribution.
* @author Daba
*
*/
public class BD1NormalGenerator extends BD1Generator{
public BD1NormalGenerator() {
}
@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