mirror of
https://github.com/Floriansylvain/creative_coding_1.git
synced 2026-08-19 11:43:20 +02:00
14 lines
229 B
JavaScript
14 lines
229 B
JavaScript
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()
|
|
}
|
|
}
|
|
} |