Skip to content

Commit

Permalink
rename and declare rigid body simulation
Browse files Browse the repository at this point in the history
  • Loading branch information
NguyenVanThanhHust committed Aug 24, 2023
1 parent 0b8f970 commit 2553d6d
Show file tree
Hide file tree
Showing 3 changed files with 24 additions and 3 deletions.
5 changes: 2 additions & 3 deletions Video_Game_Physics/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,5 @@ add_definitions("-DENABLE_SSE")

set(CMAKE_CXX_FLAGS "-std=c++17 -O3 -pthread -Wall -Ofast -Wfatal-errors -D_MWAITXINTRIN_H_INCLUDED")

add_executable(${PROJECT_NAME}
src/main.cpp
)
add_executable(particle_simulation src/particle_simulation.cpp)
add_executable(rigid_body_simulation src/rigid_body_simulation.cpp)
File renamed without changes.
22 changes: 22 additions & 0 deletions Video_Game_Physics/src/rigid_body_simulation.cpp
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
#include <iostream>
#include <random>
#include <chrono>
#include <thread>


using std::cout;
using std::cin;
using std::endl;

#define NUM_PARTICLES 2

void RunSimulation()
{

};

int main()
{
RunSimulation();
return 0;
}

0 comments on commit 2553d6d

Please sign in to comment.