shunsukeyoshimoto / rigideuler

Euler method: Rigid Body Simulation (Exercise)

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Euler method: Rigid Body Simulation

Overview

This porject is for learning how to Rigid Body Simulation by Euler method in C language. Let's fill in the code at TODO.

Text

See here

Demo

Rigid Euler

Requirement

  • LIB: math, glut, glfw3
  • Body Data PATH: ../data/param.ini
  • Rigid Object Data PATH: ../data/armadillo.stl
  • Container Data PATH: ../data/container.stl

Compile command

$ gcc main.c Solver.c Mesh.c GLTool.c MathTool.c -o euler -lglfw3 -lGL -lGLU -lXrandr -lXinerama -lXcursor -lXi -lXxf86vm -lX11 -lpthread -lm -ldl

$ ./euler ../data/armadillo.stl

Licence

MIT

Author

yoshimoto56

About

Euler method: Rigid Body Simulation (Exercise)

License:MIT License


Languages

Language:C 92.0%Language:C++ 8.0%