add raw vertex input in devel mode. stub in slice connect shadow test for performance over plain face union

This commit is contained in:
Stewart Allen 2022-05-03 09:02:09 -04:00
commit 9454eeb287
7 changed files with 55 additions and 10 deletions

View file

@ -10,6 +10,7 @@ gapp.register("mesh.build", [], (root, exports) => {
const { broker } = gapp;
const { mesh } = root;
const { api, util } = mesh;
const devel = api.isDebug;
let call = broker.send;
let rad = 180 / Math.PI;
@ -372,6 +373,7 @@ function ui_build() {
h.div({ class: "pop"}, [
h.button({ _: 'cylinder', onclick: add.cylinder }),
h.button({ _: 'cube', onclick: add.cube }),
devel ? h.button({ _: 'input', onclick: add.input }) : undefined
])
]),
h.div([