* @see ca.eandb.jmist.framework.color.ColorModel#fromRGB(double, double, double)
*/
@Override
public Spectrum fromRGB(double r, double g, double b) {
CIEXYZ xyz = ColorUtil.convertRGB2XYZ(r, g, b);
return new XYZColor(xyz.X(), xyz.Y(), xyz.Z(), null);
}
/* (non-Javadoc)
* @see ca.eandb.jmist.framework.color.ColorModel#fromXYZ(double, double, double)
*/