mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2025-12-16 02:58:05 +00:00
arb:: initial commit for affine
This commit is contained in:
@@ -744,6 +744,7 @@ EX transmatrix rgpushxto0(const hyperpoint& H) {
|
||||
|
||||
EX void fixmatrix(transmatrix& T) {
|
||||
if(nonisotropic) ; // T may be inverse... do not do that
|
||||
else if(cgflags & qAFFINE) ; // affine
|
||||
else if(prod) {
|
||||
auto z = zlevel(tC0(T));
|
||||
T = mscale(T, -z);
|
||||
|
||||
Reference in New Issue
Block a user