mirror of
https://bitbucket.org/mfeemster/fractorium.git
synced 2025-07-06 00:06:00 -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:
@ -77,7 +77,8 @@ public:
|
||||
bool IsEmpty() const;
|
||||
void Scale(T amount);
|
||||
Affine2D<T> ScaleCopy(T amount);
|
||||
void Rotate(T angle);
|
||||
void Rotate(T rad);
|
||||
void RotateTrans(T rad);
|
||||
void Translate(const v2T& v);
|
||||
void RotateScaleXTo(const v2T& v);
|
||||
void RotateScaleYTo(const v2T& v);
|
||||
@ -88,6 +89,7 @@ public:
|
||||
m2T ToMat2RowMajor() const;
|
||||
m4T ToMat4ColMajor(bool center = false) const;
|
||||
m4T ToMat4RowMajor(bool center = false) const;
|
||||
m4T TransToMat4ColMajor() const;
|
||||
|
||||
//Note that returning a copy is actually faster than a const ref&.
|
||||
T A() const;
|
||||
@ -112,6 +114,8 @@ public:
|
||||
void Y(const v2T& y);
|
||||
void O(const v2T& t);
|
||||
|
||||
string ToString() const;
|
||||
|
||||
static Affine2D CalcRotateScale(const v2T& from, const v2T& to);
|
||||
static void CalcRSAC(const v2T& from, const v2T& to, T& a, T& c);
|
||||
|
||||
|
Reference in New Issue
Block a user