DirectionalLight.tests.js 358 B

12345678910111213141516171819202122232425262728
  1. (function () {
  2. 'use strict';
  3. var lights;
  4. QUnit.module( "Lights - DirectionalLight", {
  5. beforeEach: function() {
  6. lights = [
  7. new THREE.DirectionalLight( 0xaaaaaa ),
  8. new THREE.DirectionalLight( 0xaaaaaa, 0.8 ),
  9. ];
  10. }
  11. });
  12. QUnit.test( "standard light tests", function( assert ) {
  13. runStdLightTests( assert, lights );
  14. });
  15. })();