change editor code: m1911Materials.fbx to M1911Materials.fbx, delete the extra keyword PUBLIC from CMakeLists.txt
This commit is contained in:
@ -149,7 +149,7 @@ namespace Prism
|
||||
|
||||
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});
|
||||
mesh = CreateRef<Mesh>("assets/models/m1911/m1911Materials.fbx");
|
||||
mesh = CreateRef<Mesh>("assets/models/m1911/M1911Materials.fbx");
|
||||
secondEntity->SetMesh(mesh);
|
||||
}
|
||||
|
||||
|
||||
@ -83,7 +83,6 @@ set(STATIC_LIBRARY ${PROJECT_NAME}-static)
|
||||
add_library(${STATIC_LIBRARY} STATIC ${SRC_SOURCE})
|
||||
|
||||
target_compile_definitions(${STATIC_LIBRARY} PRIVATE
|
||||
PUBLIC
|
||||
${DEBUG_DEFINITIONS}
|
||||
INTERFACE
|
||||
PRISM_STATIC
|
||||
|
||||
@ -71,7 +71,6 @@ namespace Prism
|
||||
{
|
||||
case GL_DEBUG_SEVERITY_HIGH:
|
||||
PM_CORE_ERROR("[OpenGL HIGH] Source: {0}, Type: {1}, ID: {2}\nMessage: {3}", sourceStr, typeStr, id, message);
|
||||
PM_CORE_ASSERT(false);
|
||||
break;
|
||||
|
||||
case GL_DEBUG_SEVERITY_MEDIUM:
|
||||
|
||||
Reference in New Issue
Block a user