Skip to content

Commit

Permalink
Move comment to suitable place
Browse files Browse the repository at this point in the history
  • Loading branch information
StuckiSimon committed Aug 18, 2024
1 parent 528687c commit 2fc5e47
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions strahl-lib/src/path-tracer.ts
Original file line number Diff line number Diff line change
Expand Up @@ -287,8 +287,6 @@ async function runPathTracer(

const sceneMatrixWorld = model.scene.matrixWorld;

// Prepare Position Data

const isCustomCameraConfiguration = isCustomCameraSetup(
viewProjectionConfiguration,
);
Expand All @@ -300,6 +298,8 @@ async function runPathTracer(
cameraSetup = makeRawCameraSetup(viewProjectionConfiguration, canvas);
}

// Prepare Position Data

const positionBuffer = device.createBuffer({
label: "Position buffer",
size: Float32Array.BYTES_PER_ELEMENT * positions.length,
Expand Down

0 comments on commit 2fc5e47

Please sign in to comment.