ソースを参照

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 年 前
コミット
834ecf166c
共有1 個のファイルを変更した2 個の追加3 個の削除を含む
  1. 2 3
      glsl/raymarching.js

+ 2 - 3
glsl/raymarching.js

@ -164,9 +164,8 @@ void main() {
164 164
  float time = 15.0 + 0.0; // iGlobalTime
165 165
166 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 170
  // camera-to-world transformation
172 171
  mat3 ca = setCamera( ro, ta, 0.0 );