(options)
| 38 | * Helper function for creating a mesh using a dummy dispatch |
| 39 | */ |
| 40 | function createMesh(options) { |
| 41 | var dispatch = new MockDispatch(); |
| 42 | return { |
| 43 | mesh: new Mesh(dispatch, options), |
| 44 | dispatch: dispatch |
| 45 | }; |
| 46 | } |
| 47 | |
| 48 | /* |
| 49 | * Dummy material expression |