From 6595b68da9ee82871ce07f9fb42720cc43babe3f Mon Sep 17 00:00:00 2001 From: William Barnes Date: Fri, 29 Apr 2022 21:26:25 -0400 Subject: [PATCH] Improved Draw routine. --- qb.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/qb.js b/qb.js index cdbd349..02da2f8 100644 --- a/qb.js +++ b/qb.js @@ -893,7 +893,7 @@ var QB = new function() { } uxx = ux * Math.cos(_strokeDrawAngle + Math.PI/2) - uy * Math.sin(_strokeDrawAngle + Math.PI/2); - uyy = ux * Math.sin(_strokeDrawAngle + Math.PI/2) + uy * Math.cos(a_strokeDrawAngle + Math.PI/2); + uyy = ux * Math.sin(_strokeDrawAngle + Math.PI/2) + uy * Math.cos(_strokeDrawAngle + Math.PI/2); uxx = uxx / Math.sqrt(2); uyy = uyy / Math.sqrt(2); cursXt = ux0 + uxx;