From f277e5607d55af4aa659ff9f39cce6ef34625686 Mon Sep 17 00:00:00 2001 From: Caspian Rychlik-Prince Date: Fri, 30 Apr 2004 08:17:25 +0000 Subject: [PATCH] *** empty log message *** --- src/java/org/lwjgl/util/Color.java | 8 ++++---- src/java/org/lwjgl/util/model/loaders/XMLUtil.java | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/src/java/org/lwjgl/util/Color.java b/src/java/org/lwjgl/util/Color.java index 4986abfb..4343757c 100644 --- a/src/java/org/lwjgl/util/Color.java +++ b/src/java/org/lwjgl/util/Color.java @@ -395,9 +395,9 @@ public final class Color implements ReadableColor, Serializable, WritableColor { /** * HSB to RGB conversion, pinched from java.awt.Color. - * @param hue (0..360) - * @param saturation (0..100) - * @param brightness (0..100) + * @param hue (0..1.0f) + * @param saturation (0..1.0f) + * @param brightness (0..1.0f) */ public void fromHSB(float hue, float saturation, float brightness) { if (saturation == 0.0F) { @@ -446,7 +446,7 @@ public final class Color implements ReadableColor, Serializable, WritableColor { /** * RGB to HSB conversion, pinched from java.awt.Color. * The HSB value is returned in dest[] if dest[] is supplied. - * Hue is 0..360, saturation and brightness are 0..100. + * Values range from 0..1 * @param dest[] Destination floats, or null * @return dest[], or a new float[] */ diff --git a/src/java/org/lwjgl/util/model/loaders/XMLUtil.java b/src/java/org/lwjgl/util/model/loaders/XMLUtil.java index ea8aab2b..2127b7d3 100644 --- a/src/java/org/lwjgl/util/model/loaders/XMLUtil.java +++ b/src/java/org/lwjgl/util/model/loaders/XMLUtil.java @@ -50,7 +50,7 @@ final class XMLUtil { * @return the single child element, or null * @throws Exception if the child is present multiple times */ - public static Element getChild(Element element, String child) throws Exception { + static Element getChild(Element element, String child) throws Exception { NodeList nodes = element.getChildNodes(); Element ret = null; for (int i = 0; i < nodes.getLength(); i ++) {