Skip to content

Commit 8b4a5c9

Browse files
committed
types update
1 parent 4c395e6 commit 8b4a5c9

File tree

1 file changed

+11
-5
lines changed

1 file changed

+11
-5
lines changed

src/base/TilesRendererBase.d.ts

Lines changed: 11 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ export interface Tile {
4646
* How far is this tiles bounds from the nearest active Camera.
4747
* Expected to be filled in during calculateError implementations.
4848
*/
49-
__distanceFromCamera : Number;
49+
__distanceFromCamera : Number;
5050
/**
5151
* This tile is currently active if:
5252
* 1: Tile content is loaded and ready to be made visible if needed
@@ -58,14 +58,20 @@ export interface Tile {
5858
* 2: Tile is within a camera frustum
5959
* 3: Tile meets the SSE requirements
6060
*/
61-
__visible : Boolean;
61+
__visible : Boolean;
6262
/**
63-
* Frame number that this tile was last used: active+visible
63+
* Whether or not the tile was visited during the last update run.
6464
*/
65-
__lastFrameVisited : Number;
65+
__used : Boolean;
66+
67+
/**
68+
* Whether or not the tile was within the frustum on the last update run.
69+
*/
70+
__inFrustum : Boolean;
71+
6672
/**
6773
* TODO: Document this if it is useful enough to be the default property in the LRU sorting.
6874
*/
69-
__depthFromRenderedParent : Number;
75+
__depthFromRenderedParent : Number;
7076

7177
}

0 commit comments

Comments
 (0)