mirror of
https://github.com/scratchfoundation/scratch-vm.git
synced 2024-12-24 06:52:40 -05:00
Remove unused function
This commit is contained in:
parent
3d6644609f
commit
4f8782cc84
1 changed files with 0 additions and 12 deletions
|
@ -185,18 +185,6 @@ class Scratch3PenBlocks {
|
|||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Wrap a pen hue or shade values to the range (0,200).
|
||||
* @param {number} value - the pen hue or shade value to the proper range.
|
||||
* @returns {number} the wrapped value.
|
||||
* @private
|
||||
*/
|
||||
_wrapHueOrShade (value) {
|
||||
value = value % 200;
|
||||
if (value < 0) value += 200;
|
||||
return value;
|
||||
}
|
||||
|
||||
_wrapHue (value) {
|
||||
return MathUtil.wrapClamp(value, 0, 100);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue