Permalink
Browse files

cleanup

  • Loading branch information...
1 parent f9b0170 commit e151c942ea616a8390f66e6a4c493e84b359e910 Philip Rideout committed Mar 11, 2012
Showing with 0 additions and 6 deletions.
  1. +0 −6 BetterGrid.c
View
@@ -457,12 +457,6 @@ static MeshPod CreateGrid(int rows, int columns)
float theta = atan2(y,x);
float radius = sqrt(x*x+y*y);
- /*
- radius = sqrt(radius);
- x = radius * cos(theta);
- y = radius * sin(theta);
- */
-
radius = radius * radius;
float u = 0.5 * (1.0 + radius * cos(theta));
float v = 0.5 * (1.0 + radius * sin(theta));

0 comments on commit e151c94

Please sign in to comment.