Skip to content

Commit

Permalink
Merged mesh factory branch to main (#64)
Browse files Browse the repository at this point in the history
  • Loading branch information
SpinnerX authored Nov 23, 2024
1 parent bdf645a commit 7e62ed9
Show file tree
Hide file tree
Showing 7 changed files with 13 additions and 6 deletions.
5 changes: 4 additions & 1 deletion TestApp/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -43,4 +43,7 @@ build_demos(


LINK_LIBRARIES engine3d
)
)

target_include_directories(${PROJECT_NAME} PUBLIC ./)
target_include_directories(${PROJECT_NAME} PRIVATE ../)
1 change: 1 addition & 0 deletions TestApp/Scenes/Assets/Components/Bodies/BodyContainer.hpp
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
// #include <engine3d/Physics/JoltHandler.hpp>
#include <engine3d/Physics/JoltHandler.hpp>
// Jolt Includes
class BodyContainer
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#include <Scenes/Assets/Components/Graphics/SpriteRender3D.hpp>
// #include "Scene"

#include <Core/SceneManagment/SceneObjects/SceneObject.hpp>
using namespace engine3d;

const int Radius = 1;
const int SectorCount = 10;
const int StackCount = 10;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
// #include <Scenes/Assets/Components/Physics/PhysicsBody3D.hpp>
#include <Scenes/Assets/Components/Physics/PhysicsBody3D.hpp>
#include <Jolt/Physics/Body/BodyCreationSettings.h>
#include <Jolt/Physics/Body/BodyID.h>
#include <glm/fwd.hpp>
#include <Core/SceneManagment/SceneObjects/SceneObject.hpp>
using namespace engine3d;

PhysicsBody3D::PhysicsBody3D(BodyContainer * p_bodyCon)
Expand Down
2 changes: 1 addition & 1 deletion TestApp/src/Scenes/Assets/Components/testComp.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
#include <engine3d/Core/Event/KeyCodes.hpp>
#include <engine3d/Core/TimeManagement/UpdateManagers/SyncUpdateManager.hpp>
#include <Scenes/Assets/Components/testComp.hpp>
// #include "Scene"
#include <Core/SceneManagment/SceneObjects/SceneObject.hpp>

using namespace engine3d;
void testComp::OnIntegrate()
Expand Down
4 changes: 2 additions & 2 deletions src/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@ set(VULKAN_SHADERS_INCLUDE_DIR ${VULKAN_INCLUDE_DIR}/Shaders)
set(VULKAN_SHADERS_SRC_DIR ${VULKAN_SRC_DIR}/Shaders)


build_library(
SOURCES
add_library(
${PROJECT_NAME}
${ENGINE_SRC_DIR}/Core/ApplicationInstance.cpp

${ENGINE_INCLUDE_NAME}/Core/EngineLogger.hpp
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
#include <Core/SceneManagment/Components/GameComponent.hpp>
#include <Core/SceneManagment/SceneObjects/SceneObject.hpp>

namespace engine3d
{
Expand Down

0 comments on commit 7e62ed9

Please sign in to comment.