@@ -13,9 +13,9 @@ import {
13
13
Vector4 ,
14
14
} from "three" ;
15
15
import { OrbitControls } from "three/examples/jsm/controls/OrbitControls" ;
16
- import "../../../../bundled/assets/open-props.1.4.min.css" ;
17
- import "../../../../bundled/assets/normalize.min.css" ;
18
- import "../pre-home-scene/styles.css" ;
16
+ // import "../../../../bundled/assets/open-props.1.4.min.css";
17
+ // import "../../../../bundled/assets/normalize.min.css";
18
+ // import "../pre-home-scene/styles.css";
19
19
20
20
import App from "./components/app" ;
21
21
import { Surface } from "@image/canvas/surface" ;
@@ -41,15 +41,14 @@ import { IScriptImage } from "./iscript-sprite";
41
41
import { getDirection32 } from "@utils/camera-utils" ;
42
42
43
43
const bootup = async ( ) => {
44
-
45
- await initializeAssets ( ) ;
44
+ await initializeAssets ( ) ;
46
45
47
46
const janitor = new Janitor ( "iscriptah-scene-loader" ) ;
48
47
49
48
const surface = new Surface ( ) ;
50
49
surface . setDimensions ( 300 , 300 , window . devicePixelRatio ) ;
51
50
52
- const renderComposer = new TitanRenderComposer ( surface ) ;
51
+ const renderComposer = new TitanRenderComposer ( surface ) ;
53
52
54
53
const scene = new Scene ( ) ;
55
54
janitor . mop ( scene , "scene" ) ;
@@ -156,7 +155,7 @@ const bootup = async () => {
156
155
const renderPass = new RenderPass ( scene , cameras [ 0 ] ) ;
157
156
158
157
const postProcessingBundle = {
159
- passes : [ renderPass ] ,
158
+ passes : [ renderPass ] ,
160
159
} ;
161
160
162
161
renderComposer . setBundlePasses ( postProcessingBundle ) ;
@@ -186,7 +185,7 @@ const bootup = async () => {
186
185
const preload = async ( ) => {
187
186
const { header } = block ;
188
187
189
- const atlas = await loadImageAtlasDirect ( block . image . index ) // true );
188
+ const atlas = await loadImageAtlasDirect ( block . image . index ) ; // true );
190
189
191
190
const image = isGltfAtlas ( atlas )
192
191
? new Image3D ( atlas )
0 commit comments