1 package de.lathanda.eos.robot.geom3d;
4 import java.awt.image.BufferedImage;
11 public class Material implements Comparable<Material> {
12 private static int nextID = 0;
24 ka = c.getComponents(
null);
25 kd = c.getComponents(
null);
26 ks = c.getComponents(
null);
36 this.kd = Color.WHITE.getComponents(
null);
37 for(
int i = 0; i <
kd.length; i++) {
42 this.ka = Color.WHITE.getComponents(
null);
43 for(
int i = 0; i <
ka.length; i++) {
48 this.ks = Color.WHITE.getComponents(
null);
49 for(
int i = 0; i <
ks.length; i++) {
void setImage(BufferedImage image)
int compareTo(Material m)
Material(BufferedImage image)