Skip to content

Commit

Permalink
Update vertex.glsl
Browse files Browse the repository at this point in the history
  • Loading branch information
jcponce committed Aug 22, 2024
1 parent 4557536 commit 4e10984
Showing 1 changed file with 0 additions and 13 deletions.
13 changes: 0 additions & 13 deletions threejs/galaxy/shaders/galaxy/vertex.glsl
Original file line number Diff line number Diff line change
Expand Up @@ -11,19 +11,6 @@ attribute vec3 aRandomness;

varying vec3 vColor;

vec3 thomas(vec3 position, float dt) {
float speed = 400.0;
float dx = (sin(position.y) - 0.208186 * position.x) * speed;
float dy = (sin(position.z) - 0.208186 * position.y) * speed;
float dz = (sin(position.x) - 0.208186 * position.z) * speed;

position.x += dx * dt;
position.y += dy * dt;
position.z += dz * dt;

return position;
}

float myPoly(float u) {
float v = - 0.0000056015527 * pow(u, 4.0)
+ 0.0035961847886 * pow(u, 3.0)
Expand Down

0 comments on commit 4e10984

Please sign in to comment.