JavaFX cube mapped texture
public class Cube extends MeshView { private final float zero = 0; private final float aHalf = 1f / 2f; private final float aThird = 1f / 3f; private final float twoThirds = 2f / 3f; private final float one = 1; public Cube(int size, String texturePath){ if(!StringUtil.isEmpty(textureSource)) { Image image = new Image(textureSource); DefaultMaterial defaultMaterial = new DefaultMaterial(); defau..
2019.06.18