Sha256: c3eb9f61defa1aaf4012e7e69245c2028dbecfa8628c89244c36fbdc37e6786f

Contents?: true

Size: 374 Bytes

Versions: 2

Compression:

Stored size: 374 Bytes

Contents

describe("Material layer 'texture'", function() {
  var matr;
  
  describe("independently", function() {
    beforeEach(function() {
      matr = new Jax.Material({ layers: [ {type: "Texture", path: "/textures/rock.png" } ] });
    });

    it("should render successfully", function() {
      new Jax.Mesh.Triangles({material:matr}).render(SPEC_CONTEXT);
    });
  });
});

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
jax-3.0.0.rc2 spec/javascripts/layers/texture_spec.js
jax-3.0.0.rc1 spec/javascripts/layers/texture_spec.js