diff --git a/src/lib/core/core.zig b/src/lib/core/core.zig index 091005e..c682bf2 100644 --- a/src/lib/core/core.zig +++ b/src/lib/core/core.zig @@ -2,7 +2,6 @@ pub const VulkanContext = @import("./VulkanContext.zig"); pub const Encoder = @import("./Encoder.zig"); pub const DestructionQueue = @import("./DestructionQueue.zig"); pub const Image = @import("./Image.zig"); -pub const Sensor = @import("./Sensor.zig"); pub const SyncCopier = @import("./SyncCopier.zig"); pub const mem = @import("./mem.zig"); diff --git a/src/lib/hrtsystem/Camera.zig b/src/lib/hrtsystem/Camera.zig index c9bc77a..fd39886 100644 --- a/src/lib/hrtsystem/Camera.zig +++ b/src/lib/hrtsystem/Camera.zig @@ -7,7 +7,7 @@ const core = engine.core; const VulkanContext = core.VulkanContext; const Encoder = core.Encoder; -const Sensor = core.Sensor; +const Sensor = engine.hrtsystem.Sensor; const Mat3x4 = engine.vector.Mat3x4(f32); diff --git a/src/lib/hrtsystem/ObjectPicker.zig b/src/lib/hrtsystem/ObjectPicker.zig index c1c49c3..64f9f9c 100644 --- a/src/lib/hrtsystem/ObjectPicker.zig +++ b/src/lib/hrtsystem/ObjectPicker.zig @@ -9,7 +9,7 @@ const Encoder = core.Encoder; const hrtsystem = engine.hrtsystem; const Pipeline = hrtsystem.pipeline.ObjectPickPipeline; -const Sensor = core.Sensor; +const Sensor = hrtsystem.Sensor; const Camera = hrtsystem.Camera; const F32x2 = @import("../vector.zig").Vec2(f32); diff --git a/src/lib/core/Sensor.zig b/src/lib/hrtsystem/Sensor.zig similarity index 100% rename from src/lib/core/Sensor.zig rename to src/lib/hrtsystem/Sensor.zig diff --git a/src/lib/hrtsystem/hrtsystem.zig b/src/lib/hrtsystem/hrtsystem.zig index 801a054..fabbaeb 100644 --- a/src/lib/hrtsystem/hrtsystem.zig +++ b/src/lib/hrtsystem/hrtsystem.zig @@ -8,6 +8,7 @@ pub const pipeline = @import("pipeline.zig"); pub const World = @import("World.zig"); pub const Scene = @import("Scene.zig"); pub const ConstantSpectra = @import("ConstantSpectra.zig"); +pub const Sensor = @import("Sensor.zig"); const vk = @import("vulkan");