Press keys 1 or 2 to change mode WASD to move Cursor Arrow keys to move Player Q/E to zoom In editor mode, press and hold the space key and move to create a box. Press X at the box's midpoint to delete it.
This is just a simple collision engine and editor I'm making for an upcoming game. You can use it if you want to, but please remember to give credit. I used this to help me with the boolean: https://developer.mozilla.org/en-US/docs/Games/Techniques/3D_collision_detection All other code and math was done by me.