From 36f2aabb256b360365989c01a52f839a57dfe2a6 Mon Sep 17 00:00:00 2001 From: Syoyo Fujita Date: Tue, 29 Oct 2024 04:47:03 +0900 Subject: [PATCH] Refactor 'include', hoping faster compilation. --- src/usdFbx.hh | 4 +++- src/usdObj.hh | 4 +++- src/usdVox.hh | 4 +++- src/usda-reader.cc | 1 - 4 files changed, 9 insertions(+), 4 deletions(-) diff --git a/src/usdFbx.hh b/src/usdFbx.hh index 7218aa918..d3d9a214d 100644 --- a/src/usdFbx.hh +++ b/src/usdFbx.hh @@ -15,7 +15,9 @@ #pragma once -#include "tinyusdz.hh" +#include + +class GPrim; namespace tinyusdz { diff --git a/src/usdObj.hh b/src/usdObj.hh index f814c2255..a26ebe916 100644 --- a/src/usdObj.hh +++ b/src/usdObj.hh @@ -14,7 +14,9 @@ #pragma once -#include "tinyusdz.hh" +#include + +class GPrim; namespace tinyusdz { diff --git a/src/usdVox.hh b/src/usdVox.hh index 8dbbd6c8b..090751ec0 100644 --- a/src/usdVox.hh +++ b/src/usdVox.hh @@ -14,7 +14,9 @@ #pragma once -#include "tinyusdz.hh" +#include + +class GPrim; namespace tinyusdz { namespace usdVox { diff --git a/src/usda-reader.cc b/src/usda-reader.cc index b2d6e3023..d7f0676e8 100644 --- a/src/usda-reader.cc +++ b/src/usda-reader.cc @@ -68,7 +68,6 @@ #include "str-util.hh" #include "stream-reader.hh" #include "tinyusdz.hh" -#include "usdObj.hh" #include "usdShade.hh" #include "value-pprint.hh" #include "value-types.hh"