mirror of
https://github.com/processing/processing4.git
synced 2026-06-16 04:26:26 +02:00
fix hue() due to differences in Android API (issue #1257)
This commit is contained in:
@@ -5120,7 +5120,7 @@ public class PGraphics extends PImage implements PConstants {
|
||||
what & 0xff, cacheHsbValue);
|
||||
cacheHsbKey = what;
|
||||
}
|
||||
return cacheHsbValue[0] * colorModeX;
|
||||
return (cacheHsbValue[0] / 360f) * colorModeX;
|
||||
}
|
||||
|
||||
|
||||
|
||||
+4
-3
@@ -1,10 +1,11 @@
|
||||
0212 android
|
||||
X key value is not set in android mode
|
||||
X http://code.google.com/p/processing/issues/detail?id=1254
|
||||
X hue() in HSB mode returns out of range values
|
||||
X hue method on Android may just be different
|
||||
X http://code.google.com/p/processing/issues/detail?id=1257
|
||||
|
||||
|
||||
_ hue() in HSB mode returns out of range values
|
||||
_ http://code.google.com/p/processing/issues/detail?id=1257
|
||||
_ emulator not starting up on OS X?
|
||||
|
||||
motion/touch events
|
||||
_ registerMethod("motionEvent") and "mouseEvent" not implemented
|
||||
|
||||
Reference in New Issue
Block a user