New handle in GeometryView for Proportional scaling of source: added

drawing of Handle, Picking visitor and View Geometry scaling.
This commit is contained in:
brunoherbelin
2020-09-05 00:19:22 +02:00
parent 764259f93a
commit e546214018
8 changed files with 83 additions and 63 deletions

View File

@@ -21,6 +21,7 @@
#define LOG100(val) (50.0/log(10.0)*log((float)val + 1.0))
#define EXP100(val) (exp(log(10.0)/50.0*(float)(val))-1.0)
#define EUCLIDEAN(P1, P2) sqrt((P1.x() - P2.x()) * (P1.x() - P2.x()) + (P1.y() - P2.y()) * (P1.y() - P2.y()))
#define ROUND(val, factor) float( int( val * factor ) ) / factor;
#define SCENE_UNIT 5.f
#define SCENE_DEPTH 12.f