File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -16,9 +16,6 @@ import * as LJS from '../../../dist/littlejs.esm.js';
1616import * as THREE from 'three' ;
1717const { vec2} = LJS ;
1818
19- // disable LittleJS WebGL so the 2D canvas is only used for UI and HUD stuff
20- LJS . setGLEnable ( false ) ;
21-
2219// platforming constants
2320const zGravity = .012 ; // fall acceleration per update
2421const jumpVelocity = .22 ; // takeoff speed
Original file line number Diff line number Diff line change @@ -14,9 +14,6 @@ import * as LJS from '../../../dist/littlejs.esm.js';
1414import * as THREE from 'three' ;
1515const { vec2, hsl} = LJS ;
1616
17- // disable LittleJS WebGL so the 2D canvas is only used for UI and HUD stuff
18- LJS . setGLEnable ( false ) ;
19-
2017///////////////////////////////////////////////////////////////////////////////
2118// objects that drive three.js meshes
2219
You can’t perform that action at this time.
0 commit comments