diff --git a/assets/predefine.h b/assets/predefine.h index 85c350e..453bef9 100644 --- a/assets/predefine.h +++ b/assets/predefine.h @@ -61,6 +61,7 @@ #include "entt/entt.hpp" // Entity Component System Library #include "entt/fwd.hpp" // Entity Component Forward Declarations +#include "glm/glm.hpp" // OpenGL Mathematics Library #include "gsl/gsl" // Guideline Support Library // LevelDB C++ Library diff --git a/src/main/kotlin/com/liteldev/headeroutput/entity/BaseType.kt b/src/main/kotlin/com/liteldev/headeroutput/entity/BaseType.kt index 8ce3d34..c8565a8 100644 --- a/src/main/kotlin/com/liteldev/headeroutput/entity/BaseType.kt +++ b/src/main/kotlin/com/liteldev/headeroutput/entity/BaseType.kt @@ -56,9 +56,6 @@ abstract class BaseType( ?.let { return@run "$root/${it.dst}/${this.simpleName}.$HEADER_SUFFIX" } - if (this.parents.isNotEmpty()) { - return@run "${this.parents[0].path.substringBeforeLast("/", ".")}/${this.simpleName}.$HEADER_SUFFIX" - } } regexRules.filter { !it.override }.find { this.name.matches(it.regex.toRegex()) }?.let { return@run "$root/${it.dst}/${this.simpleName}.$HEADER_SUFFIX"