Skip to content

Commit

Permalink
Sort imports and run grunt modulify, see phetsims/chipper#1462
Browse files Browse the repository at this point in the history
  • Loading branch information
samreid committed Nov 27, 2024
1 parent db90897 commit a318c3b
Show file tree
Hide file tree
Showing 105 changed files with 146 additions and 190 deletions.
2 changes: 1 addition & 1 deletion js/parallel/ParallelContext.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@
* @author Jonathan Olson <[email protected]>
*/

import { alpenglow, ParallelExecutor, ParallelKernel, ParallelWorkgroup, ParallelWorkgroupArray } from '../imports.js';
import Vector3 from '../../../dot/js/Vector3.js';
import { alpenglow, ParallelExecutor, ParallelKernel, ParallelWorkgroup, ParallelWorkgroupArray } from '../imports.js';

export type BaseWorkgroupValues = Record<string, ParallelWorkgroupArray<unknown> | number>;

Expand Down
2 changes: 1 addition & 1 deletion js/parallel/ParallelExecutor.ts
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,9 @@
* @author Jonathan Olson <[email protected]>
*/

import { alpenglow, BaseWorkgroupValues, ParallelContext, ParallelKernel, ParallelWorkgroup, ParallelWorkgroupArray } from '../imports.js';
import Random from '../../../dot/js/Random.js';
import Vector3 from '../../../dot/js/Vector3.js';
import { alpenglow, BaseWorkgroupValues, ParallelContext, ParallelKernel, ParallelWorkgroup, ParallelWorkgroupArray } from '../imports.js';

// eslint-disable-next-line phet/bad-sim-text
const random = new Random();
Expand Down
2 changes: 1 addition & 1 deletion js/parallel/ParallelStorageArray.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@
* @author Jonathan Olson <[email protected]>
*/

import { alpenglow, BaseWorkgroupValues, ParallelContext } from '../imports.js';
import Vector3 from '../../../dot/js/Vector3.js';
import { alpenglow, BaseWorkgroupValues, ParallelContext } from '../imports.js';

export default class ParallelStorageArray<T> {

Expand Down
2 changes: 1 addition & 1 deletion js/parallel/ParallelTests.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@
* @author Jonathan Olson <[email protected]>
*/

import { ParallelContext, ParallelExecutor, ParallelKernel, ParallelStorageArray, ParallelWorkgroupArray } from '../imports.js';
import Random from '../../../dot/js/Random.js';
import { ParallelContext, ParallelExecutor, ParallelKernel, ParallelStorageArray, ParallelWorkgroupArray } from '../imports.js';

// eslint-disable-next-line phet/bad-sim-text
const random = new Random();
Expand Down
2 changes: 1 addition & 1 deletion js/parallel/ParallelUtils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@
* @author Jonathan Olson <[email protected]>
*/

import { alpenglow } from '../imports.js';
import Vector3 from '../../../dot/js/Vector3.js';
import { alpenglow } from '../imports.js';

export default class ParallelUtils {

Expand Down
2 changes: 1 addition & 1 deletion js/parallel/ParallelWorkgroup.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@
* @author Jonathan Olson <[email protected]>
*/

import { alpenglow, BaseWorkgroupValues, ParallelKernel } from '../imports.js';
import Vector3 from '../../../dot/js/Vector3.js';
import { alpenglow, BaseWorkgroupValues, ParallelKernel } from '../imports.js';

export default class ParallelWorkgroup<WorkgroupValues extends BaseWorkgroupValues> {

Expand Down
2 changes: 1 addition & 1 deletion js/parallel/ParallelWorkgroupArray.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@
* @author Jonathan Olson <[email protected]>
*/

import { alpenglow, BaseWorkgroupValues, ParallelContext } from '../imports.js';
import Vector3 from '../../../dot/js/Vector3.js';
import { alpenglow, BaseWorkgroupValues, ParallelContext } from '../imports.js';

export default class ParallelWorkgroupArray<T> {

Expand Down
4 changes: 2 additions & 2 deletions js/parallel/raster-clip/ParallelRaster.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@
* @author Jonathan Olson <[email protected]>
*/

import { alpenglow, ByteEncoder, CombinedRaster, ParallelRasterChunkIndexPatch, ParallelRasterChunkReduce, ParallelRasterEdgeIndexPatch, ParallelRasterEdgeScan, ParallelRasterInitialChunk, ParallelRasterInitialClip, ParallelRasterInitialEdgeReduce, ParallelRasterInitialSplitReduce, ParallelRasterSplitReduce, ParallelRasterSplitScan, ParallelStorageArray, RasterChunk, RasterChunkReducePair, RasterChunkReduceQuad, RasterClippedChunk, RasterCompleteChunk, RasterCompleteEdge, RasterEdge, RasterEdgeClip, RasterSplitReduceData } from '../../imports.js';
import Vector4 from '../../../../dot/js/Vector4.js';
import Vector2 from '../../../../dot/js/Vector2.js';
import Vector4 from '../../../../dot/js/Vector4.js';
import { alpenglow, ByteEncoder, CombinedRaster, ParallelRasterChunkIndexPatch, ParallelRasterChunkReduce, ParallelRasterEdgeIndexPatch, ParallelRasterEdgeScan, ParallelRasterInitialChunk, ParallelRasterInitialClip, ParallelRasterInitialEdgeReduce, ParallelRasterInitialSplitReduce, ParallelRasterSplitReduce, ParallelRasterSplitScan, ParallelStorageArray, RasterChunk, RasterChunkReducePair, RasterChunkReduceQuad, RasterClippedChunk, RasterCompleteChunk, RasterCompleteEdge, RasterEdge, RasterEdgeClip, RasterSplitReduceData } from '../../imports.js';
import testPolygonalFace from '../../webgpu/tests/testPolygonalFace.js';

// TODO: move to 256 after testing (64 helps us test more cases here)
Expand Down
2 changes: 1 addition & 1 deletion js/parallel/raster-clip/ParallelRasterEdgeScan.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@
* @author Jonathan Olson <[email protected]>
*/

import { alpenglow, ParallelExecutor, ParallelKernel, ParallelStorageArray, ParallelUtils, ParallelWorkgroupArray, RasterClippedChunk, RasterCompleteEdge, RasterEdge, RasterEdgeClip, RasterSplitReduceData } from '../../imports.js';
import Vector2 from '../../../../dot/js/Vector2.js';
import { alpenglow, ParallelExecutor, ParallelKernel, ParallelStorageArray, ParallelUtils, ParallelWorkgroupArray, RasterClippedChunk, RasterCompleteEdge, RasterEdge, RasterEdgeClip, RasterSplitReduceData } from '../../imports.js';

const nanVector = new Vector2( NaN, NaN );

Expand Down
2 changes: 1 addition & 1 deletion js/parallel/raster-clip/ParallelRasterInitialClip.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@
* @author Jonathan Olson <[email protected]>
*/

import { alpenglow, ParallelExecutor, ParallelKernel, ParallelStorageArray, ParallelWorkgroupArray, RasterChunk, RasterChunkReduceData, RasterChunkReducePair, RasterChunkReduceQuad, RasterClippedChunk, RasterEdge, RasterEdgeClip } from '../../imports.js';
import Vector2 from '../../../../dot/js/Vector2.js';
import { alpenglow, ParallelExecutor, ParallelKernel, ParallelStorageArray, ParallelWorkgroupArray, RasterChunk, RasterChunkReduceData, RasterChunkReducePair, RasterChunkReduceQuad, RasterClippedChunk, RasterEdge, RasterEdgeClip } from '../../imports.js';

export default class ParallelRasterInitialClip {
public static async dispatch(
Expand Down
2 changes: 1 addition & 1 deletion js/parallel/raster-clip/RasterCompleteEdge.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@
* @author Jonathan Olson <[email protected]>
*/

import { alpenglow, ByteEncoder } from '../../imports.js';
import Vector2 from '../../../../dot/js/Vector2.js';
import { alpenglow, ByteEncoder } from '../../imports.js';

export default class RasterCompleteEdge {
public constructor(
Expand Down
2 changes: 1 addition & 1 deletion js/parallel/raster-clip/RasterEdge.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@
* @author Jonathan Olson <[email protected]>
*/

import { alpenglow, ByteEncoder } from '../../imports.js';
import Vector2 from '../../../../dot/js/Vector2.js';
import { alpenglow, ByteEncoder } from '../../imports.js';

export default class RasterEdge {
public constructor(
Expand Down
2 changes: 1 addition & 1 deletion js/parallel/raster-clip/RasterEdgeClip.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@
* @author Jonathan Olson <[email protected]>
*/

import { alpenglow, ByteEncoder } from '../../imports.js';
import Vector2 from '../../../../dot/js/Vector2.js';
import { alpenglow, ByteEncoder } from '../../imports.js';

export default class RasterEdgeClip {
public constructor(
Expand Down
2 changes: 1 addition & 1 deletion js/render-program/Mesh.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@
* @author Jonathan Olson <[email protected]>
*/

import { alpenglow } from '../imports.js';
import Vector3 from '../../../dot/js/Vector3.js';
import { alpenglow } from '../imports.js';

export default class Mesh {

Expand Down
2 changes: 1 addition & 1 deletion js/render-program/PolygonFilterType.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@
* @author Jonathan Olson <[email protected]>
*/

import { alpenglow } from '../imports.js';
import Bounds2 from '../../../dot/js/Bounds2.js';
import { alpenglow } from '../imports.js';

enum PolygonFilterType {
Box = 0,
Expand Down
2 changes: 1 addition & 1 deletion js/render-program/RenderAlpha.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@
* @author Jonathan Olson <[email protected]>
*/

import { alpenglow, RenderColor, RenderEvaluationContext, RenderInstruction, RenderInstructionMultiplyScalar, RenderPathBoolean, RenderProgram, SerializedRenderProgram } from '../imports.js';
import Vector4 from '../../../dot/js/Vector4.js';
import { alpenglow, RenderColor, RenderEvaluationContext, RenderInstruction, RenderInstructionMultiplyScalar, RenderPathBoolean, RenderProgram, SerializedRenderProgram } from '../imports.js';

export default class RenderAlpha extends RenderProgram {
public constructor(
Expand Down
4 changes: 2 additions & 2 deletions js/render-program/RenderBarycentricBlend.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,10 @@
* @author Jonathan Olson <[email protected]>
*/

import { alpenglow, ByteEncoder, RenderColor, RenderEvaluationContext, RenderExecutionStack, RenderExecutor, RenderInstruction, RenderInstructionLocation, RenderProgram, SerializedRenderProgram } from '../imports.js';
import Vector2 from '../../../dot/js/Vector2.js';
import Matrix3 from '../../../dot/js/Matrix3.js';
import Vector2 from '../../../dot/js/Vector2.js';
import Vector4 from '../../../dot/js/Vector4.js';
import { alpenglow, ByteEncoder, RenderColor, RenderEvaluationContext, RenderExecutionStack, RenderExecutor, RenderInstruction, RenderInstructionLocation, RenderProgram, SerializedRenderProgram } from '../imports.js';


// REVIEW: What does the accuracy do?
Expand Down
6 changes: 3 additions & 3 deletions js/render-program/RenderBarycentricPerspectiveBlend.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,11 @@
* @author Jonathan Olson <[email protected]>
*/

import { alpenglow, ByteEncoder, RenderColor, RenderEvaluationContext, RenderExecutionStack, RenderExecutor, RenderInstruction, RenderInstructionLocation, RenderProgram, SerializedRenderProgram } from '../imports.js';
import Vector2 from '../../../dot/js/Vector2.js';
import Matrix3 from '../../../dot/js/Matrix3.js';
import Vector4 from '../../../dot/js/Vector4.js';
import Vector2 from '../../../dot/js/Vector2.js';
import Vector3 from '../../../dot/js/Vector3.js';
import Vector4 from '../../../dot/js/Vector4.js';
import { alpenglow, ByteEncoder, RenderColor, RenderEvaluationContext, RenderExecutionStack, RenderExecutor, RenderInstruction, RenderInstructionLocation, RenderProgram, SerializedRenderProgram } from '../imports.js';

export enum RenderBarycentricPerspectiveBlendAccuracy {
// TODO: Accurate should really be the version that runs the perspective correction integral!!!!
Expand Down
4 changes: 2 additions & 2 deletions js/render-program/RenderBlendCompose.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@
* @author Jonathan Olson <[email protected]>
*/

import { alpenglow, ByteEncoder, RenderBlendType, RenderColor, RenderComposeType, RenderEvaluationContext, RenderExecutionStack, RenderExecutor, RenderInstruction, RenderInstructionLocation, RenderProgram, RenderStack, SerializedRenderProgram } from '../imports.js';
import Vector4 from '../../../dot/js/Vector4.js';
import Vector3 from '../../../dot/js/Vector3.js';
import Vector4 from '../../../dot/js/Vector4.js';
import { alpenglow, ByteEncoder, RenderBlendType, RenderColor, RenderComposeType, RenderEvaluationContext, RenderExecutionStack, RenderExecutor, RenderInstruction, RenderInstructionLocation, RenderProgram, RenderStack, SerializedRenderProgram } from '../imports.js';

export default class RenderBlendCompose extends RenderProgram {

Expand Down
2 changes: 1 addition & 1 deletion js/render-program/RenderColorSpace.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@
* @author Jonathan Olson <[email protected]>
*/

import { alpenglow, RenderColor, RenderLinearDisplayP3ToLinearSRGB, RenderLinearSRGBToLinearDisplayP3, RenderLinearSRGBToOklab, RenderLinearSRGBToSRGB, RenderOklabToLinearSRGB, RenderProgram, RenderSRGBToLinearSRGB } from '../imports.js';
import Vector4 from '../../../dot/js/Vector4.js';
import { alpenglow, RenderColor, RenderLinearDisplayP3ToLinearSRGB, RenderLinearSRGBToLinearDisplayP3, RenderLinearSRGBToOklab, RenderLinearSRGBToSRGB, RenderOklabToLinearSRGB, RenderProgram, RenderSRGBToLinearSRGB } from '../imports.js';

export default class RenderColorSpace {
protected constructor(
Expand Down
2 changes: 1 addition & 1 deletion js/render-program/RenderColorSpaceConversion.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@
* @author Jonathan Olson <[email protected]>
*/

import { alpenglow, RenderColor, RenderColorSpace, RenderEvaluationContext, RenderLinearDisplayP3ToLinearSRGB, RenderLinearSRGBToLinearDisplayP3, RenderLinearSRGBToOklab, RenderLinearSRGBToSRGB, RenderOklabToLinearSRGB, RenderPathBoolean, RenderPremultiply, RenderProgram, RenderSRGBToLinearSRGB, RenderUnpremultiply, SerializedRenderProgram } from '../imports.js';
import Vector4 from '../../../dot/js/Vector4.js';
import Constructor from '../../../phet-core/js/types/Constructor.js';
import { alpenglow, RenderColor, RenderColorSpace, RenderEvaluationContext, RenderLinearDisplayP3ToLinearSRGB, RenderLinearSRGBToLinearDisplayP3, RenderLinearSRGBToOklab, RenderLinearSRGBToSRGB, RenderOklabToLinearSRGB, RenderPathBoolean, RenderPremultiply, RenderProgram, RenderSRGBToLinearSRGB, RenderUnpremultiply, SerializedRenderProgram } from '../imports.js';

export default abstract class RenderColorSpaceConversion extends RenderProgram {

Expand Down
8 changes: 4 additions & 4 deletions js/render-program/RenderDepthSort.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,12 @@
* @author Jonathan Olson <[email protected]>
*/

import { alpenglow, ClippableFace, RenderableFace, RenderColor, RenderEvaluationContext, RenderPlanar, RenderProgram, RenderStack, SerializedRenderProgram } from '../imports.js';
import Range from '../../../dot/js/Range.js';
import Matrix3 from '../../../dot/js/Matrix3.js';
import Matrix4 from '../../../dot/js/Matrix4.js';
import Vector4 from '../../../dot/js/Vector4.js';
import Range from '../../../dot/js/Range.js';
import Vector3 from '../../../dot/js/Vector3.js';
import Matrix3 from '../../../dot/js/Matrix3.js';
import Vector4 from '../../../dot/js/Vector4.js';
import { alpenglow, ClippableFace, RenderableFace, RenderColor, RenderEvaluationContext, RenderPlanar, RenderProgram, RenderStack, SerializedRenderProgram } from '../imports.js';

const toProgram = ( item: RenderPlanar ): RenderProgram => item.program;

Expand Down
4 changes: 2 additions & 2 deletions js/render-program/RenderEvaluationContext.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@
* @author Jonathan Olson <[email protected]>
*/

import { alpenglow, ClippableFace, PolygonalFace } from '../imports.js';
import Vector2 from '../../../dot/js/Vector2.js';
import Bounds2 from '../../../dot/js/Bounds2.js';
import Vector2 from '../../../dot/js/Vector2.js';
import { alpenglow, ClippableFace, PolygonalFace } from '../imports.js';

export default class RenderEvaluationContext {

Expand Down
2 changes: 1 addition & 1 deletion js/render-program/RenderExecutionStack.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@
* @author Jonathan Olson <[email protected]>
*/

import { alpenglow } from '../imports.js';
import Vector4 from '../../../dot/js/Vector4.js';
import { alpenglow } from '../imports.js';

// TODO: We'll plan to use Float32Array to test WebGPU compatibility and epsilons
const ExecutionArrayType = Float64Array;
Expand Down
2 changes: 1 addition & 1 deletion js/render-program/RenderExecutor.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@
* @author Jonathan Olson <[email protected]>
*/

import { alpenglow, RenderEvaluationContext, RenderEvaluator, RenderExecutionStack, RenderInstruction, RenderInstructionLocation, RenderProgram } from '../imports.js';
import Vector4 from '../../../dot/js/Vector4.js';
import { alpenglow, RenderEvaluationContext, RenderEvaluator, RenderExecutionStack, RenderInstruction, RenderInstructionLocation, RenderProgram } from '../imports.js';

// Should be kept empty
const scratchInstructions: RenderInstruction[] = [];
Expand Down
2 changes: 1 addition & 1 deletion js/render-program/RenderFilter.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,9 @@
* @author Jonathan Olson <[email protected]>
*/

import { alpenglow, ByteEncoder, RenderColor, RenderEvaluationContext, RenderExecutionStack, RenderExecutor, RenderInstruction, RenderInstructionLocation, RenderPathBoolean, RenderProgram, SerializedRenderProgram } from '../imports.js';
import Matrix4 from '../../../dot/js/Matrix4.js';
import Vector4 from '../../../dot/js/Vector4.js';
import { alpenglow, ByteEncoder, RenderColor, RenderEvaluationContext, RenderExecutionStack, RenderExecutor, RenderInstruction, RenderInstructionLocation, RenderPathBoolean, RenderProgram, SerializedRenderProgram } from '../imports.js';

export default class RenderFilter extends RenderProgram {

Expand Down
8 changes: 4 additions & 4 deletions js/render-program/RenderFromNode.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,15 +6,15 @@
* @author Jonathan Olson <[email protected]>
*/

import { alpenglow, CombinedRaster, Rasterize, RenderAlpha, RenderBlendCompose, RenderBlendType, RenderColor, RenderComposeType, RenderExtend, RenderFilter, RenderGradientStop, RenderImage, RenderImageable, RenderLinearGradient, RenderLinearGradientAccuracy, RenderPath, RenderPathBoolean, RenderPremultiply, RenderProgram, RenderRadialGradient, RenderRadialGradientAccuracy, RenderResampleType, RenderStack, RenderUnpremultiply } from '../imports.js';
import { isTReadOnlyProperty } from '../../../axon/js/TReadOnlyProperty.js';
import Bounds2 from '../../../dot/js/Bounds2.js';
import Matrix3 from '../../../dot/js/Matrix3.js';
import Vector4 from '../../../dot/js/Vector4.js';
import { Shape } from '../../../kite/js/imports.js';
import ConstructorOf from '../../../phet-core/js/types/ConstructorOf.js';
import IntentionalAny from '../../../phet-core/js/types/IntentionalAny.js';
import { isTReadOnlyProperty } from '../../../axon/js/TReadOnlyProperty.js';
import Bounds2 from '../../../dot/js/Bounds2.js';
import { Color, ColorMatrixFilter, Display, Image, LinearGradient, Node, Path, Pattern, RadialGradient, Sprites, TColor, Text, TPaint } from '../../../scenery/js/imports.js';
import ConstructorOf from '../../../phet-core/js/types/ConstructorOf.js';
import { alpenglow, CombinedRaster, Rasterize, RenderAlpha, RenderBlendCompose, RenderBlendType, RenderColor, RenderComposeType, RenderExtend, RenderFilter, RenderGradientStop, RenderImage, RenderImageable, RenderLinearGradient, RenderLinearGradientAccuracy, RenderPath, RenderPathBoolean, RenderPremultiply, RenderProgram, RenderRadialGradient, RenderRadialGradientAccuracy, RenderResampleType, RenderStack, RenderUnpremultiply } from '../imports.js';

// TODO: better for this?
const piecewiseOptions = {
Expand Down
2 changes: 1 addition & 1 deletion js/render-program/RenderGradientStop.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@
* @author Jonathan Olson <[email protected]>
*/

import { alpenglow, RenderColor, RenderEvaluationContext, RenderProgram, SerializedRenderProgram } from '../imports.js';
import Vector4 from '../../../dot/js/Vector4.js';
import { alpenglow, RenderColor, RenderEvaluationContext, RenderProgram, SerializedRenderProgram } from '../imports.js';

export default class RenderGradientStop {
public constructor( public readonly ratio: number, public readonly program: RenderProgram ) {
Expand Down
6 changes: 3 additions & 3 deletions js/render-program/RenderImage.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,11 @@
* @author Jonathan Olson <[email protected]>
*/

import { alpenglow, ByteEncoder, ClippableFace, PolygonMitchellNetravali, RenderEvaluationContext, RenderExecutionStack, RenderExecutor, RenderExtend, RenderImageable, RenderInstruction, RenderInstructionLocation, RenderProgram, RenderResampleType, SerializedRenderImageable } from '../imports.js';
import Vector2 from '../../../dot/js/Vector2.js';
import Matrix3 from '../../../dot/js/Matrix3.js';
import Vector4 from '../../../dot/js/Vector4.js';
import Utils from '../../../dot/js/Utils.js';
import Vector2 from '../../../dot/js/Vector2.js';
import Vector4 from '../../../dot/js/Vector4.js';
import { alpenglow, ByteEncoder, ClippableFace, PolygonMitchellNetravali, RenderEvaluationContext, RenderExecutionStack, RenderExecutor, RenderExtend, RenderImageable, RenderInstruction, RenderInstructionLocation, RenderProgram, RenderResampleType, SerializedRenderImageable } from '../imports.js';

const emptyChildren: RenderProgram[] = [];

Expand Down
2 changes: 1 addition & 1 deletion js/render-program/RenderInstruction.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@
* @author Jonathan Olson <[email protected]>
*/

import { alpenglow, ByteEncoder, RenderEvaluationContext, RenderExecutionStack, RenderExecutor, RenderInstructionBarycentricBlend, RenderInstructionBarycentricPerspectiveBlend, RenderInstructionBlendCompose, RenderInstructionComputeBlendRatio, RenderInstructionComputeGradientRatio, RenderInstructionFilter, RenderInstructionLinearBlend, RenderInstructionLinearDisplayP3ToLinearSRGB, RenderInstructionLinearSRGBToLinearDisplayP3, RenderInstructionLinearSRGBToOklab, RenderInstructionLinearSRGBToSRGB, RenderInstructionNormalDebug, RenderInstructionNormalize, RenderInstructionOklabToLinearSRGB, RenderInstructionOpaqueJump, RenderInstructionPhong, RenderInstructionPremultiply, RenderInstructionSRGBToLinearSRGB, RenderInstructionStackBlend, RenderInstructionUnpremultiply } from '../imports.js';
import Vector4 from '../../../dot/js/Vector4.js';
import { alpenglow, ByteEncoder, RenderEvaluationContext, RenderExecutionStack, RenderExecutor, RenderInstructionBarycentricBlend, RenderInstructionBarycentricPerspectiveBlend, RenderInstructionBlendCompose, RenderInstructionComputeBlendRatio, RenderInstructionComputeGradientRatio, RenderInstructionFilter, RenderInstructionLinearBlend, RenderInstructionLinearDisplayP3ToLinearSRGB, RenderInstructionLinearSRGBToLinearDisplayP3, RenderInstructionLinearSRGBToOklab, RenderInstructionLinearSRGBToSRGB, RenderInstructionNormalDebug, RenderInstructionNormalize, RenderInstructionOklabToLinearSRGB, RenderInstructionOpaqueJump, RenderInstructionPhong, RenderInstructionPremultiply, RenderInstructionSRGBToLinearSRGB, RenderInstructionStackBlend, RenderInstructionUnpremultiply } from '../imports.js';

export default abstract class RenderInstruction {
public abstract execute(
Expand Down
Loading

0 comments on commit a318c3b

Please sign in to comment.