diff --git a/hprint.cpp b/hprint.cpp index 99197ec8..3fdaaa2b 100644 --- a/hprint.cpp +++ b/hprint.cpp @@ -432,6 +432,16 @@ EX transmatrix kz(transmatrix h) { return h; } +EX shiftmatrix kz(shiftmatrix h) { + h.T = kz(h.T); + return h; + } + +EX shiftpoint kz(shiftpoint h) { + h.h = kz(h.h); + return h; + } + #if HDR template vector kz(vector v) { for(auto& el: v) el = kz(el);