mirror of
https://bitbucket.org/mfeemster/fractorium.git
synced 2025-07-02 22:34:52 -04:00
--User changes
-Add variations changes to the list of functionality that can be applied to all xforms using the Select tab. -Allow for graphical affine adjustments to apply to multiple selected xforms. -Slight optimization of the pie variation. -Undo state is only saved when the render completes and the mouse buttons are released. This helps avoid intermediate steps for quickly completing renders while dragging. -Add some keyboard shortcuts for toolbar and menu items. -Make info tab tree always expanded. --Bug fixes -Make precalcs for all hypertile variations safer by using Zeps() for denominators. -Changing the current xform with more than one selected would set all xform's color index value that of the current one. -Use hard found palette path information for randoms as well. -OpenCL build and assignment errors for Z value in epispiral variation. -Unitialized local variables in hexaplay3D, crob, pRose3D. --Code changes -Change static member variables from m_ to s_. -Get rid of excessive endl and replace with "\n". -Remove old IMAGEGL2D define from before Nvidia supported OpenCL 1.2. -Remove old CriticalSection code and use std::recursive_mutex. -Make Affine2D Rotate() and RotateTrans() take radians instead of angles. -More C++11 work. -General cleanup.
This commit is contained in:
@ -1495,7 +1495,7 @@ public:
|
||||
/// <param name="rand">The rand.</param>
|
||||
virtual void Func(IteratorHelper<T>& helper, Point<T>& outPoint, QTIsaac<ISAAC_SIZE, ISAAC_INT>& rand) override
|
||||
{
|
||||
T gradTmp, secTmp, xTmp, yTmp;
|
||||
T gradTmp, secTmp, xTmp = 0, yTmp = 0;
|
||||
|
||||
if ((helper.In.x < m_LeftBorder) || (helper.In.x > m_RightBorder) || (helper.In.y < m_TopBorder) || (helper.In.y > m_BottomBorder))
|
||||
{
|
||||
@ -1591,7 +1591,7 @@ public:
|
||||
string leftBorder = "parVars[" + ToUpper(m_Params[i++].Name()) + index;
|
||||
string rightBorder = "parVars[" + ToUpper(m_Params[i++].Name()) + index;
|
||||
ss << "\t{\n"
|
||||
<< "\t\treal_t gradTmp, secTmp, xTmp, yTmp;\n"
|
||||
<< "\t\treal_t gradTmp, secTmp, xTmp = 0, yTmp = 0;\n"
|
||||
<< "\n"
|
||||
<< "\t\tif ((vIn.x < " << leftBorder << ") || (vIn.x > " << rightBorder << ") || (vIn.y < " << topBorder << ") || (vIn.y > " << bottomBorder << "))\n"
|
||||
<< "\t\t{\n"
|
||||
@ -3626,8 +3626,6 @@ private:
|
||||
case LERP_BEZIER:
|
||||
return BezierQuadMap(x, m);
|
||||
}
|
||||
|
||||
return x * m;
|
||||
}
|
||||
|
||||
inline void SynthSinCos(SynthStruct& synth, T theta, T& s, T& c, int sineType)
|
||||
|
Reference in New Issue
Block a user