Nicolas Winkler 5 năm trước cách đây
mục cha
commit
6689407fbf
2 tập tin đã thay đổi với 5 bổ sung1 xóa
  1. 1 1
      MandelWidget.cpp
  2. 4 0
      libmandel/include/Fixed.h

+ 1 - 1
MandelWidget.cpp

@@ -220,7 +220,7 @@ void MandelView::adaptViewport(const MandelInfo mi)
 MandelWidget::MandelWidget(mnd::MandelContext& ctxt, QWidget* parent) :
     QGLWidget{ QGLFormat(QGL::SampleBuffers), parent },
     mndContext{ ctxt },
-    mv{ ctxt.getCpuGeneratorFloat(), gradient, this }
+    mv{ ctxt.getCpuGeneratorDouble(), gradient, this }
 {
     this->setContentsMargins(0, 0, 0, 0);
     this->setSizePolicy(QSizePolicy::Expanding,

+ 4 - 0
libmandel/include/Fixed.h

@@ -331,6 +331,10 @@ private:
     }
 public:
 
+    Fixed128 operator / (const Fixed128& other) {
+
+    }
+
     bool isNegative(void) const {
         return (upper & (uint64_t(1) << 63)) != 0;
     }