File tree Expand file tree Collapse file tree 1 file changed +7
-0
lines changed
Expand file tree Collapse file tree 1 file changed +7
-0
lines changed Original file line number Diff line number Diff line change 7878 < input type ="checkbox " id ="negative ">
7979 < label for ="negative "> Negative</ label >
8080 </ div >
81+ < div class ="checkbox-row ">
82+ < input type ="checkbox " id ="wireframe ">
83+ < label for ="wireframe "> Wireframe</ label >
84+ </ div >
8185 </ div >
8286
8387 < div class ="cursor-circle " id ="cursorCircle "> </ div >
192196 const negativeCheckbox = document . getElementById ( 'negative' ) ;
193197 negativeCheckbox . addEventListener ( 'change' , function ( ) { sculpt . negative = this . checked ; } ) ;
194198
199+ const wireframeCheckbox = document . getElementById ( 'wireframe' ) ;
200+ wireframeCheckbox . addEventListener ( 'change' , function ( ) { mesh . material . wireframe = this . checked ; } ) ;
201+
195202 // Cursor circle
196203
197204 const cursorCircle = document . getElementById ( 'cursorCircle' ) ;
You can’t perform that action at this time.
0 commit comments