Skip to content

Commit

Permalink
Corrected bug include/cyclone/core.h. Issue idmillington#10
Browse files Browse the repository at this point in the history
Inversion was not inverting z nor x correctly. Fixes issue idmillington#10, spotted by @integeruser
  • Loading branch information
LucasCampos committed Feb 28, 2013
1 parent 5105cd4 commit 8410893
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions include/cyclone/core.h
Original file line number Diff line number Diff line change
Expand Up @@ -446,7 +446,7 @@ namespace cyclone {
{
x = -x;
y = -y;
x = -z;
z = -z;
}

};
Expand Down Expand Up @@ -1240,4 +1240,4 @@ namespace cyclone {

}

#endif // CYCLONE_CORE_H
#endif // CYCLONE_CORE_H

0 comments on commit 8410893

Please sign in to comment.