Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit6f003ed

Browse files
committed
Clean up
1 parent9efe2c9 commit6f003ed

File tree

4 files changed

+3
-4
lines changed

4 files changed

+3
-4
lines changed

‎src/passes/GeometryPass.ts‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@ import {
66
HalfFloatType,
77
LinearFilter,
88
Material,
9-
Mesh,
109
NearestFilter,
1110
NoColorSpace,
1211
Object3D,

‎src/utils/ClearFlags.ts‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
import{GBuffer}from"../enums/GBuffer.js";
2-
import{GBufferPacking}from"../enums/GBufferPacking.js";
32

43
/**
54
* A collection of clear flags.

‎src/utils/ClearValues.ts‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@ import { Color, EventDispatcher } from "three";
22
import{BaseEventMap}from"../core/BaseEventMap.js";
33
import{GBuffer}from"../enums/GBuffer.js";
44
import{ObservableMap}from"./ObservableMap.js";
5-
import{GBufferPacking}from"../enums/GBufferPacking.js";
65

76
/**
87
* A collection of clear values.

‎test/utils/EffectMaterialManager.js‎

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
importtestfrom"ava";
2-
import{EffectMaterialManager,GBufferConfig,ToneMappingEffect}from"postprocessing";
2+
import{EffectMaterialManager,GBuffer,GBufferConfig,ToneMappingEffect}from"postprocessing";
33

44
constemptyShaderData={
55
uniforms:newMap(),
@@ -30,6 +30,7 @@ test("creates materials for all effect combinations", t => {
3030
effects.forEach((effect)=>void(effect.optional=true));
3131

3232
constmanager=newEffectMaterialManager(emptyShaderData);
33+
manager.gBuffer=newSet([GBuffer.COLOR]);
3334
manager.gBufferConfig=newGBufferConfig();
3435

3536
t.truthy(manager.getMaterial(effects));
@@ -53,6 +54,7 @@ test("creates materials on demand if there are too many optional effects", t =>
5354
effects.forEach((effect)=>void(effect.optional=true));
5455

5556
constmanager=newEffectMaterialManager(emptyShaderData);
57+
manager.gBuffer=newSet([GBuffer.COLOR]);
5658
manager.gBufferConfig=newGBufferConfig();
5759

5860
t.truthy(manager.getMaterial(effects));

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp