Revert "Tweak scalingVector to make dots appear to be more circular"

This commit is contained in:
Benjamin Wheeler 2019-05-30 11:50:54 -04:00 committed by GitHub
parent 6bdaebcb3b
commit ed6c707cba
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -379,10 +379,8 @@ class PenSkin extends Skin {
translationVector[1] = avgY + (alias / 4); translationVector[1] = avgY + (alias / 4);
const scalingVector = __modelScalingVector; const scalingVector = __modelScalingVector;
// Dots tend to be ovals that are longer on the y-axis, so we use a smaller alias scalingVector[0] = diameter + alias;
// for the y value than for the x value to make dots more circular. scalingVector[1] = length + diameter - (alias / 2);
scalingVector[0] = diameter + (alias / 2);
scalingVector[1] = length + diameter - (alias / 6);
const radius = diameter / 2; const radius = diameter / 2;
const yScalar = (0.50001 - (radius / (length + diameter))); const yScalar = (0.50001 - (radius / (length + diameter)));