3D:: fixed binary::relative_matrix

This commit is contained in:
? 2019-02-27 17:58:02 +01:00 committed by Zeno Rogue
parent 41be07ae72
commit 483a5e253c
1 changed files with 2 additions and 2 deletions

View File

@ -306,7 +306,7 @@ namespace binary {
while(h1 != h2) { while(h1 != h2) {
if(h1->distance <= h2->distance) { if(h1->distance <= h2->distance) {
if(DIM == 3) if(DIM == 3)
h2 = hr::createStep(h2, 8), where = inverse(tmatrix(h2, 8)) * where; where = inverse(tmatrix(h2, 8)) * where, h2 = hr::createStep(h2, 8);
else { else {
if(type_of(h2) == 6) if(type_of(h2) == 6)
h2 = hr::createStep(h2, bd_down), where = xpush(-log(2)) * where; h2 = hr::createStep(h2, bd_down), where = xpush(-log(2)) * where;
@ -318,7 +318,7 @@ namespace binary {
} }
else { else {
if(DIM == 3) if(DIM == 3)
h1 = hr::createStep(h1, 8), where = where * tmatrix(h1, 8); gm = gm * tmatrix(h1, 8), h1 = hr::createStep(h1, 8);
else { else {
if(type_of(h1) == 6) if(type_of(h1) == 6)
h1 = hr::createStep(h1, bd_down), gm = gm * xpush(log(2)); h1 = hr::createStep(h1, bd_down), gm = gm * xpush(log(2));