Skip to content

Commit

Permalink
flagellum are now more likely to be on the side the microbe swims from.
Browse files Browse the repository at this point in the history
  • Loading branch information
Untrustedlife authored and hhyyrylainen committed Mar 15, 2019
1 parent 222940c commit d6f9c16
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/microbe_stage/procedural_microbes.as
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ OrganelleTemplatePlaced@ getPosition(const string &in organelleName,
// Moving the center one hex to the bottom.
// This way organelles are "encouraged" to be on the bottom, rather than on the top,
// which in turn means the flagellum are more likely to be on the back side of the cell.
auto initialOffset = Int2(HEX_NEIGHBOUR_OFFSET[formatInt(int(HEX_SIDE::BOTTOM))]);
auto initialOffset = Int2(HEX_NEIGHBOUR_OFFSET[formatInt(int(HEX_SIDE::TOP))]);
q = q + initialOffset.X;
r = r + initialOffset.Y;

Expand Down

0 comments on commit d6f9c16

Please sign in to comment.