Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

cleanup

  • Loading branch information...
commit e151c942ea616a8390f66e6a4c493e84b359e910 1 parent f9b0170
Philip Rideout authored
Showing with 0 additions and 6 deletions.
  1. +0 −6 BetterGrid.c
View
6 BetterGrid.c
@@ -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));
Please sign in to comment.
Something went wrong with that request. Please try again.