You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/rendering/types/scene.ts
+19-8Lines changed: 19 additions & 8 deletions
Original file line number
Diff line number
Diff line change
@@ -8,20 +8,22 @@ export class Scene{
8
8
scene_buffer!:ArrayType;
9
9
color_buffer!:ArrayType
10
10
draw_order!: IndexingType;
11
+
raster_color!: ArrayType;
11
12
draw_end!:number;
12
13
meshes!:Mesh[];
13
14
lights!:Light[];
14
15
15
16
privatescene_cursor=0;
16
17
privateprojected_cursor=0;
17
18
privatecolor_cursor=0;
19
+
privateraster_color_cursor=0;
18
20
19
21
/**
20
22
* Initialize a Scene instance
21
23
* @param geometry If you want a static scene, provide a list of Geometries of all present meshes. If you want a scene that grows to a dynamically large value, provide the maximum number of triangles Scene will store.
0 commit comments