Skip to content

Commit

Permalink
Update imports
Browse files Browse the repository at this point in the history
  • Loading branch information
StuckiSimon committed Aug 25, 2024
1 parent 409fcbb commit f82d82d
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion strahl-lib/src/benchmark/benchmark.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { logGroup } from "./cpu-performance-logger";
import { asThreeJsMaterial, OpenPBRMaterial } from "../openpbr-material";
import { OpenPBRMaterial, asThreeJsMaterial } from "../openpbr-material";
import runPathTracer, { PathTracerOptions } from "../path-tracer";
import getStatsForReportStructure from "./benchmark-analyser";
import { isNil } from "../util/is-nil";
Expand Down
2 changes: 1 addition & 1 deletion strahl-lib/src/buffers/material-buffer.ts
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
import { InvalidMaterialError } from "../core/exceptions";
import {
VariableDefinition,
getSizeAndAlignmentOfUnsizedArrayElement,
makeStructuredView,
VariableDefinition,
} from "webgpu-utils";
import { OpenPBRMaterial } from "../openpbr-material";
import { Material } from "three";
Expand Down
2 changes: 1 addition & 1 deletion strahl-lib/src/main.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { asThreeJsMaterial, OpenPBRMaterial } from "./openpbr-material";
import { OpenPBRMaterial, asThreeJsMaterial } from "./openpbr-material";
import runPathTracer from "./path-tracer";
import { EnvironmentLightConfig } from "./environment-light";
import { RawCameraSetup } from "./camera";
Expand Down
6 changes: 3 additions & 3 deletions strahl-lib/src/path-tracer.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,16 +9,16 @@ import {
WebGPUNotSupportedError,
} from "./core/exceptions";
import {
defaultEnvironmentLightConfig,
EnvironmentLightConfig,
defaultEnvironmentLightConfig,
getSunDirection,
} from "./environment-light";
import { isNil } from "./util/is-nil";
import {
CustomCameraSetup,
ViewProjectionConfiguration,
isCustomCameraSetup,
makeRawCameraSetup,
ViewProjectionConfiguration,
} from "./camera";
import { buildAbortEventHub } from "./util/abort-event-hub";
import { Group, Matrix4 } from "three";
Expand All @@ -33,10 +33,10 @@ import { generateGeometryBuffer } from "./buffers/geometry-buffer";
import { generateIndicesBuffer } from "./buffers/indices-buffer";
import { generateBvhBuffers } from "./buffers/bvh-buffers";
import {
TimestampQueryContext,
encodeTimestampQuery,
generateTimestampQuery,
retrieveTimestampQueryTime,
TimestampQueryContext,
} from "./timestamp-query";
import { generateObjectDefinitionBuffer } from "./buffers/object-definition-buffer";
import {
Expand Down
2 changes: 1 addition & 1 deletion strahl-lib/src/prepare-geometry.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { getBVHExtremes, MeshBVH } from "three-mesh-bvh";
import { MeshBVH, getBVHExtremes } from "three-mesh-bvh";
import { logGroup } from "./benchmark/cpu-performance-logger";
import { consolidateMesh } from "./consolidate-mesh";
import { GeometryGroup, Group } from "three";
Expand Down

0 comments on commit f82d82d

Please sign in to comment.