mirror of
https://github.com/YACReader/yacreader
synced 2026-03-02 10:50:04 -05:00
More cleaning
This commit is contained in:
@ -23,7 +23,6 @@ YACReaderFlow3D::YACReaderFlow3D(QWidget *parent, struct Preset p)
|
||||
hasBeenInitialized(false),
|
||||
backgroundColor(Qt::black),
|
||||
textColor(Qt::white),
|
||||
shadingColor(Qt::black),
|
||||
flowRightToLeft(false)
|
||||
{
|
||||
updateCount = 0;
|
||||
@ -612,8 +611,6 @@ void YACReaderFlow3D::prepareDrawData(const YACReader3DImageRHI &image, bool isR
|
||||
outUniformData.backgroundColor[2] = backgroundColor.blueF();
|
||||
outUniformData._pad0 = 0.0f;
|
||||
|
||||
// shadingColor removed from uniform buffer; keep CPU-side shadingColor member intact
|
||||
|
||||
outUniformData.reflectionUp = reflectionUp;
|
||||
outUniformData.reflectionDown = reflectionBottom;
|
||||
outUniformData.isReflection = isReflection ? 1.0f : 0.0f;
|
||||
@ -1176,12 +1173,6 @@ void YACReaderFlow3D::setTextColor(const QColor &color)
|
||||
update();
|
||||
}
|
||||
|
||||
void YACReaderFlow3D::setShadingColor(const QColor &color)
|
||||
{
|
||||
shadingColor = color;
|
||||
update();
|
||||
}
|
||||
|
||||
// Event handlers
|
||||
void YACReaderFlow3D::wheelEvent(QWheelEvent *event)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user