-
Notifications
You must be signed in to change notification settings - Fork 298
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Move BatchedTilesPlugin to core plugins (#899)
* Rearrange functions * clean up * More cleanup * rearrangement * batch tiles plugin rename * Updates * comment * Add display for batched mesh instances * Fix frustum addition * Small updates * Move batched tiles plugin
- Loading branch information
Showing
9 changed files
with
24 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
import { Material, WebGLRenderer } from 'three'; | ||
|
||
export class BatchedTilesPlugin { | ||
|
||
constructor( options : { | ||
instanceCount: number, | ||
vertexCount: number, | ||
indexCount: number, | ||
expandPercent: number, | ||
maxInstanceCount: number, | ||
discardOriginalContent: boolean, | ||
|
||
material: Material | null, | ||
renderer: WebGLRenderer | null, | ||
} ); | ||
|
||
} |
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.