change editor code: m1911Materials.fbx to M1911Materials.fbx, delete the extra keyword PUBLIC from CMakeLists.txt

This commit is contained in:
2025-12-02 13:35:16 +08:00
parent 5251ae22fb
commit 5757f10cf2
3 changed files with 1 additions and 3 deletions

View File

@ -149,7 +149,7 @@ namespace Prism
auto secondEntity = m_Scene->CreateEntity("Gun Entity"); auto secondEntity = m_Scene->CreateEntity("Gun Entity");
secondEntity->Transform() = glm::translate(glm::mat4(1.0f), { 5, 5, 5 }) * glm::scale(glm::mat4(1.0f), {10, 10, 10}); secondEntity->Transform() = glm::translate(glm::mat4(1.0f), { 5, 5, 5 }) * glm::scale(glm::mat4(1.0f), {10, 10, 10});
mesh = CreateRef<Mesh>("assets/models/m1911/m1911Materials.fbx"); mesh = CreateRef<Mesh>("assets/models/m1911/M1911Materials.fbx");
secondEntity->SetMesh(mesh); secondEntity->SetMesh(mesh);
} }

View File

@ -83,7 +83,6 @@ set(STATIC_LIBRARY ${PROJECT_NAME}-static)
add_library(${STATIC_LIBRARY} STATIC ${SRC_SOURCE}) add_library(${STATIC_LIBRARY} STATIC ${SRC_SOURCE})
target_compile_definitions(${STATIC_LIBRARY} PRIVATE target_compile_definitions(${STATIC_LIBRARY} PRIVATE
PUBLIC
${DEBUG_DEFINITIONS} ${DEBUG_DEFINITIONS}
INTERFACE INTERFACE
PRISM_STATIC PRISM_STATIC

View File

@ -71,7 +71,6 @@ namespace Prism
{ {
case GL_DEBUG_SEVERITY_HIGH: case GL_DEBUG_SEVERITY_HIGH:
PM_CORE_ERROR("[OpenGL HIGH] Source: {0}, Type: {1}, ID: {2}\nMessage: {3}", sourceStr, typeStr, id, message); PM_CORE_ERROR("[OpenGL HIGH] Source: {0}, Type: {1}, ID: {2}\nMessage: {3}", sourceStr, typeStr, id, message);
PM_CORE_ASSERT(false);
break; break;
case GL_DEBUG_SEVERITY_MEDIUM: case GL_DEBUG_SEVERITY_MEDIUM: