formatting cleanup
This commit is contained in:
@@ -40,11 +40,4 @@ void main() {
|
||||
vec3 normal = vec3(toroid(thetaphi, 0, height, height));
|
||||
gl_Position = u_matrix * camera *
|
||||
vec4(toroid(thetaphi, R1, R2, R1) + a_pos.z * normal, 1.0);
|
||||
/*
|
||||
gl_Position = u_matrix * camera *
|
||||
vec4(R2 * -1.0 * sin(TWO_PI_CIRC * (a_pos.x + treadmill_x)),
|
||||
(R1 + R2 * cos(TWO_PI_CIRC * (a_pos.x + treadmill_x))) * cos(TWO_PI_CIRC * (a_pos.z + treadmill_y)),
|
||||
(R1 + R2 * cos(TWO_PI_CIRC * (a_pos.x + treadmill_x))) * sin(TWO_PI_CIRC * (a_pos.z + treadmill_y)),
|
||||
1.0);
|
||||
*/
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user