From b3f796ce015c60e2bb1a35a7ed930d2cc29c413a Mon Sep 17 00:00:00 2001 From: yggdrasil75 Date: Tue, 2 Dec 2025 05:45:37 -0500 Subject: [PATCH] minor fix --- util/grid/grid3.hpp | 6 +++--- util/ray3.hpp | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/util/grid/grid3.hpp b/util/grid/grid3.hpp index 71197e2..22345bf 100644 --- a/util/grid/grid3.hpp +++ b/util/grid/grid3.hpp @@ -11,6 +11,7 @@ #include #include #include +#include "../ray3.hpp" constexpr float EPSILON = 0.0000000000000000000000001; @@ -257,7 +258,6 @@ protected: float neighborRadius = 1.0f; - //TODO: spatial map SpatialGrid3 spatialGrid; float spatialCellSize = neighborRadius * 1.5f; @@ -442,8 +442,8 @@ public: } } - frame getGridRegionAsFrame(const Vec3& minCorner, const Vec3& maxCorner, - Vec3& res, frame::colormap outChannels = frame::colormap::RGB) { + frame getGridRegionAsFrame(const Vec3& minCorner, const Vec3& maxCorner, Vec3& res, + const Ray3& View, frame::colormap outChannels = frame::colormap::RGB) { TIME_FUNCTION; //TODO: need to implement this. } diff --git a/util/ray3.hpp b/util/ray3.hpp index 8b8cd67..260cf6d 100644 --- a/util/ray3.hpp +++ b/util/ray3.hpp @@ -1,7 +1,7 @@ #ifndef RAY3_HPP #define RAY3_HPP -#include "Vec3.hpp" +#include "vectorlogic/vec3.hpp" class Ray3 { public: