-
Notifications
You must be signed in to change notification settings - Fork 14
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
4 changed files
with
8 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,6 @@ | ||
// Copyright 2015-2024, University of Colorado Boulder | ||
|
||
|
||
import IntentionalAny from '../../../phet-core/js/types/IntentionalAny.js'; | ||
|
||
type MipMap = { | ||
data: Buffer; | ||
width: number; | ||
|
@@ -25,7 +23,7 @@ type MipMap = { | |
* | ||
* @author Jonathan Olson <[email protected]> | ||
*/ | ||
function mipmapDownscale( mipmap: MipMap, createData: ( width: number, height: number ) => Buffer ): { data: IntentionalAny; width: number; height: number } { | ||
function mipmapDownscale( mipmap: MipMap, createData: ( width: number, height: number ) => Buffer ): { data: Buffer; width: number; height: number } { | ||
// array index constants for the channels | ||
const R = 0; | ||
const G = 1; | ||
|
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