package rv.util.jogl;

import java.awt.Color;
import js.jogl.model.ObjMaterial;

public class MaterialUtil {
    public static void setColor(ObjMaterial material, Color color) {
        float[] components = new float[] { color.getRed() / 255, color.getGreen() / 255,
                color.getBlue() / 255, 1 };
        material.setAmbient(components);
        material.setDiffuse(components);
    }
}

@@ -213,16 +213,24 @@
 loat%5B%5D %7B
+ (float)
  color.g
@@ -243,16 +243,40 @@
 ) / 255,
+%0A                (float)
  color.g
@@ -291,32 +291,24 @@
 ) / 255,
-%0A               
+ (float)
  color.g

Fix some team colors not working anymore, closes #91