android-gpuimage icon indicating copy to clipboard operation
android-gpuimage copied to clipboard

change access control modifier in ***Filter class

Open Lojincen opened this issue 5 years ago • 1 comments

private property in ***Filter class become public

What is the motivation?

I want overrid setter method.But property is private.like: in super class: private float temperature; public void setTemperature(final float temperature) { this.temperature = temperature; setFloat(temperatureLocation, this.temperature < 5000 ? (float) (0.0004 * (this.temperature - 5000.0)) : (float) (0.00006 * (this.temperature - 5000.0))); } I can not use private property in subclass

Lojincen avatar Nov 25 '20 07:11 Lojincen

One is temperature * 0.0004, The other is temperature * 0.00006. That's why yellow is so light

Lojincen avatar Nov 25 '20 07:11 Lojincen