MCPcopy
hub / github.com/mrdoob/texgen.js / changeOperation

Function changeOperation

editor/main.js:188–198  ·  view source on GitHub ↗
( select, id )

Source from the content-addressed store, hash-verified

186}
187
188function changeOperation( select, id ) {
189
190 var step = texture.getStepById( id );
191
192 if ( step.value !== null ) {
193
194 step.value.operation = select.value;
195 texture.render();
196
197 }
198}
199
200function generateOperationSelect(id, operation) {
201

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected