diff --git a/envelope.asy b/envelope.asy index 2cc17aa..473375f 100644 --- a/envelope.asy +++ b/envelope.asy @@ -60,9 +60,9 @@ real llbb = dot(llba, corners[2]); pair llta = (1, -1); real lltb = dot(llta, corners[2]); pair lrba = (1, -1); -real lrbb = dot(llba, corners[0]); +real lrbb = dot(lrba, corners[0]); pair lrta = (1, 1); -real lrtb = dot(llta, corners[0]); +real lrtb = dot(lrba, corners[0]); pair lineinters(pair l1a, real l1b, pair l2a, real l2b) { // For some reason, solve does not like having the matrices right in the