Skip to content

Commit

Permalink
serialize using Apophysis convention
Browse files Browse the repository at this point in the history
  • Loading branch information
FelipeLopes committed Mar 5, 2023
1 parent 845fc5a commit 5576c98
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/render/xform.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -85,9 +85,9 @@ std::string XForm::chaosString() {
std::string XForm::affineString(Affine aff) {
std::stringstream buffer;
buffer<<std::fixed<<std::setprecision(6)<<
aff.x.x<<" "<<aff.x.y<<" "<<
aff.y.x<<" "<<aff.y.y<<" "<<
aff.o.x<<" "<<aff.o.y;
aff.x.x<<" "<<-aff.x.y<<" "<<
-aff.y.x<<" "<<aff.y.y<<" "<<
aff.o.x<<" "<<-aff.o.y;
return buffer.str();
}

Expand Down

0 comments on commit 5576c98

Please sign in to comment.