Ver Fonte

Fixed webgl_gpgpu_birds example.

- See #8809.
tschw há 9 anos atrás
pai
commit
3f530b8e55
1 ficheiros alterados com 3 adições e 0 exclusões
  1. 3 0
      examples/webgl_gpgpu_birds.html

+ 3 - 0
examples/webgl_gpgpu_birds.html

@@ -661,6 +661,9 @@
 				mouseX = 10000;
 				mouseY = 10000;
 
+				birdUniforms.texturePosition.value = simulator.currentPosition;
+				birdUniforms.textureVelocity.value = simulator.currentVelocity;
+
 				renderer.render( scene, camera );
 
 			}