Просмотр исходного кода

remove outdated comments

or rather, move the original commented code to where it should be,
removing the fixed values which are now replaced by parameters.
Lucas Stadler лет назад: 10
Родитель
Сommit
834ecf166c
1 измененных файлов с 2 добавлено и 3 удалено
  1. 2 3
      glsl/raymarching.js

+ 2 - 3
glsl/raymarching.js

164
  float time = 15.0 + 0.0; // iGlobalTime
164
  float time = 15.0 + 0.0; // iGlobalTime
165
165
166
  // camera	
166
  // camera	
167
  //vec3 ro = vec3(1.0, 2.0, -1.0); //vec3( -0.5+3.2*cos(0.1*time + 6.0*mo.x), 1.0 + 2.0*mo.y, 0.5 + 3.2*sin(0.1*time + 6.0*mo.x) );
168
  vec3 ro = origin;
169
  vec3 ta = angle; //vec3(0.0); //vec3( -0.5, -0.4, 0.5 );
167
  vec3 ro = origin; //vec3( -0.5+3.2*cos(0.1*time + 6.0*mo.x), 1.0 + 2.0*mo.y, 0.5 + 3.2*sin(0.1*time + 6.0*mo.x) );
168
  vec3 ta = angle; //vec3( -0.5, -0.4, 0.5 );
170
169
171
  // camera-to-world transformation
170
  // camera-to-world transformation
172
  mat3 ca = setCamera( ro, ta, 0.0 );
171
  mat3 ca = setCamera( ro, ta, 0.0 );