mirror of
https://github.com/Floriansylvain/creative_coding_1.git
synced 2026-08-19 11:43:20 +02:00
Initial commit
This commit is contained in:
@@ -0,0 +1,14 @@
|
||||
import * as dat from 'lil-gui'
|
||||
|
||||
export default class Debug
|
||||
{
|
||||
constructor()
|
||||
{
|
||||
this.active = window.location.hash === '#debug'
|
||||
|
||||
if(this.active)
|
||||
{
|
||||
this.ui = new dat.GUI()
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user