Sha256: 1be59a08c250d64ff1666c1cd3893cc424185404d04260d11827a1298bd1f75c
Contents?: true
Size: 450 Bytes
Versions: 13
Compression:
Stored size: 450 Bytes
Contents
describe("Material segment 'normal_map'", function() { var matr; beforeEach(function() { matr = new Jax.Material(); spyOn(matr, 'prepareShader').andCallThrough(); }); it("should compile successfully", function() { matr.addLayer(new Jax.Material.NormalMap(new Jax.Texture("/textures/normal_map.jpg"))); new Jax.Mesh({material:matr}).render(SPEC_CONTEXT); expect(matr.prepareShader).toHaveBeenCalled(); }); });
Version data entries
13 entries across 13 versions & 1 rubygems