From be586c098ff784814ca4f864d75473657e8b41fe Mon Sep 17 00:00:00 2001 From: phil Date: Thu, 18 Jan 2018 11:00:59 +1300 Subject: Replaced call to vecmath that used an awt class Color with a generic 3 byte version. This will allow vecmath to have it's awt dependency removed at some point. --- src/main/java/org/jogamp/java3d/utils/geometry/Stripifier.java | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/main/java/org/jogamp/java3d/utils/geometry/Stripifier.java b/src/main/java/org/jogamp/java3d/utils/geometry/Stripifier.java index f6353e1..7e4d5b9 100644 --- a/src/main/java/org/jogamp/java3d/utils/geometry/Stripifier.java +++ b/src/main/java/org/jogamp/java3d/utils/geometry/Stripifier.java @@ -2076,7 +2076,9 @@ public class Stripifier { } if (hasColors) colors[count] = currStrip.istream[j].color; if (colorStrips) stripColors[count] = - new org.jogamp.vecmath.Color3b(stripColor); + new org.jogamp.vecmath.Color3b((byte)stripColor.getRed(), + (byte)stripColor.getGreen(), + (byte)stripColor.getBlue()); count++; } } -- cgit v1.2.3