Skip to content

Commit

Permalink
altered cell wall code so new cell wall texture looks good
Browse files Browse the repository at this point in the history
  • Loading branch information
Untrustedlife committed Jun 29, 2018
1 parent 4fd0bba commit 4c1ff4d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/microbe_stage/membrane_system.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -381,7 +381,7 @@ size_t
for(size_t i = 0, end = vertices2D.size(); i < end + 1; i++) {
// Finds the UV coordinates be projecting onto a plane and
// stretching to fit a circle.
const double currentRadians = 3.1416 / 2 * i / end;
const double currentRadians = 3.1416 * i / end;
meshVertices[writeIndex++] = {
Ogre::Vector3(vertices2D[i % end].x,
vertices2D[i % end].z + height / 2, vertices2D[i % end].y),
Expand Down

0 comments on commit 4c1ff4d

Please sign in to comment.