Skip to content

Commit

Permalink
Fix sample compute flame bug
Browse files Browse the repository at this point in the history
Fix sample compute flame bug
  • Loading branch information
seven1031 committed Nov 18, 2023
1 parent 9ce9f5a commit 0e968df
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions samples/computer/flame/FlameSimulator.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { ClusterLightingBuffer, ComputeGPUBuffer, GeometryBase, MeshRenderer, RendererMask, RendererPassState, RendererType, SkeletonAnimationComponent, SkinnedMeshRenderer, Time, View3D } from '@orillusion/core';
import { ClusterLightingBuffer, ComputeGPUBuffer, GeometryBase, MeshRenderer, PassType, RendererMask, RendererPassState, SkeletonAnimationComponent, SkinnedMeshRenderer, Time, View3D } from '@orillusion/core';
import { FlameSimulatorConfig } from './FlameSimulatorConfig';
import { FlameSimulatorPipeline } from './FlameSimulatorPipeline';

Expand Down Expand Up @@ -50,7 +50,7 @@ export class FlameSimulator extends MeshRenderer {
}
}

public nodeUpdate(view: View3D, passType: RendererType, renderPassState: RendererPassState, clusterLightingBuffer: ClusterLightingBuffer) {
public nodeUpdate(view: View3D, passType: PassType, renderPassState: RendererPassState, clusterLightingBuffer: ClusterLightingBuffer) {
if (!this.mFlameComputePipeline) {
let skeletonAnimation = this.object3D.getComponentsInChild(SkeletonAnimationComponent)[0];
let skinnedMeshRenderer = this.object3D.getComponentsInChild(SkinnedMeshRenderer)[0];
Expand Down

0 comments on commit 0e968df

Please sign in to comment.