Skip to content

Commit 1f5d1d4

Browse files
committed
fixed it
1 parent dbfad66 commit 1f5d1d4

File tree

3 files changed

+8
-8
lines changed

3 files changed

+8
-8
lines changed

StarEditor/src/Panels/ContentBrowserPanel.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,9 @@ namespace StarEngine
1313

1414
void OnImGuiRender();
1515
private:
16+
std::filesystem::path m_BaseDirectory;
1617
std::filesystem::path m_CurrentDirectory;
1718

18-
std::filesystem::path m_BaseDirectory;
1919
Ref<Texture2D> m_DirectoryIcon;
2020
Ref<Texture2D> m_FileIcon;
2121
};

StarEngine/premake5.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ project "StarEngine"
5454
"GLFW",
5555
"GLAD",
5656
"imgui",
57-
"opengl32.lib",
57+
"opengl32",
5858
"%{Library.mono}",
5959
"yaml-cpp",
6060
"Box2D",

StarEngine/src/StarEngine/Scripting/ScriptGlue.cpp

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,7 @@ namespace StarEngine {
128128
body->ApplyLinearImpulseToCenter(b2Vec2(impulse->x, impulse->y), wake);
129129
}
130130

131-
static void Rigidbody2DComponent_GetLinearVelocity(UUID entityID, glm::vec2* outLinearVelocity)
131+
static void RigidBody2DComponent_GetLinearVelocity(UUID entityID, glm::vec2* outLinearVelocity)
132132
{
133133
Scene* scene = ScriptEngine::GetSceneContext();
134134
SE_CORE_ASSERT(scene);
@@ -141,7 +141,7 @@ namespace StarEngine {
141141
*outLinearVelocity = glm::vec2(linearVelocity.x, linearVelocity.y);
142142
}
143143

144-
static RigidBody2DComponent::BodyType Rigidbody2DComponent_GetType(UUID entityID)
144+
static RigidBody2DComponent::BodyType RigidBody2DComponent_GetType(UUID entityID)
145145
{
146146
Scene* scene = ScriptEngine::GetSceneContext();
147147
SE_CORE_ASSERT(scene);
@@ -153,7 +153,7 @@ namespace StarEngine {
153153
return Utils::RigidBody2DTypeFromBox2DBody(body->GetType());
154154
}
155155

156-
static void Rigidbody2DComponent_SetType(UUID entityID, RigidBody2DComponent::BodyType bodyType)
156+
static void RigidBody2DComponent_SetType(UUID entityID, RigidBody2DComponent::BodyType bodyType)
157157
{
158158
Scene* scene = ScriptEngine::GetSceneContext();
159159
SE_CORE_ASSERT(scene);
@@ -218,9 +218,9 @@ namespace StarEngine {
218218

219219
SE_ADD_INTERNAL_CALL(RigidBody2DComponent_ApplyLinearImpulse);
220220
SE_ADD_INTERNAL_CALL(RigidBody2DComponent_ApplyLinearImpulseToCenter);
221-
SE_ADD_INTERNAL_CALL(Rigidbody2DComponent_GetLinearVelocity);
222-
SE_ADD_INTERNAL_CALL(Rigidbody2DComponent_GetType);
223-
SE_ADD_INTERNAL_CALL(Rigidbody2DComponent_SetType);
221+
SE_ADD_INTERNAL_CALL(RigidBody2DComponent_GetLinearVelocity);
222+
SE_ADD_INTERNAL_CALL(RigidBody2DComponent_GetType);
223+
SE_ADD_INTERNAL_CALL(RigidBody2DComponent_SetType);
224224

225225
SE_ADD_INTERNAL_CALL(Input_IsKeyDown);
226226
}

0 commit comments

Comments
 (0)