diff options
author | phil <[email protected]> | 2018-01-18 11:00:59 +1300 |
---|---|---|
committer | phil <[email protected]> | 2018-01-18 11:00:59 +1300 |
commit | be586c098ff784814ca4f864d75473657e8b41fe (patch) | |
tree | 67216f53bb35c193e30db2181304db85e618b192 /src | |
parent | 67f662bb98ba96210e6026209b18b55cfa0f6470 (diff) |
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.
Diffstat (limited to 'src')
-rw-r--r-- | src/main/java/org/jogamp/java3d/utils/geometry/Stripifier.java | 4 |
1 files changed, 3 insertions, 1 deletions
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++; } } |