공부
-
무게 중심공부/Physics for Game Developers 2023. 11. 28. 23:36
1.1 뉴턴의 운동법칙 제1운동법칙: 관성의 법칙 - 물체는 외부의 힘을 받지 않는 한 계속 정지 또는 등속 운동을 한다. 제2운동법칙: 가속도의 법칙 - 물체에 작용한 알짜힘은 물체의 질량과 가속도의 곱과 같다. F = ma, 힘 = 질량 X 가속도 제3운동법칙: 작용과 반작용의 법칙 물체에 가해지는 힘(작용)에는 그와 반대되는 힘(반작용)이 존재한다. 두 힘의 크기는 동일하고, 방향은 반대이다. 1.6 질량, 질량(무게)중심, 관성모멘트 - 질량(m) = 밀도(ρ) X 부피(V) - 무게중심(질량중심)을 계산하기 위해서는 물체를 유한 개의 작은 부분으로 나누어야 한다. 이때, 나눈 부분을 점질량(point mass)라 한다. 각 점질량의 질량중심 m은 공간 좌표로 표현하고 3D 공간에서는 x, y, ..
-
Vector Class공부/Physics for Game Developers 2023. 11. 26. 19:47
https://github.com/oreillymedia/physics_for_game_developers_2e GitHub - oreillymedia/physics_for_game_developers_2e Contribute to oreillymedia/physics_for_game_developers_2e development by creating an account on GitHub. github.com 1. Vector Class Methods 1.1 크기 (Magnitude) inline float Vector::Magnitude(void) { return (float) sqrt(x*x + y*y + z*z); } 1.2 정규화 (Normalize) - 벡터를 단위벡터로 정규화 벡터 v가 v(x..
-
Collision Detection Using the Separating Axis Theorem공부/Physics for Game Developers 2023. 11. 10. 16:30
https://code.tutsplus.com/collision-detection-using-the-separating-axis-theorem--gamedev-169t Collision Detection Using the Separating Axis Theorem | Envato Tuts+ The Separating Axis Theorem is often used to check for collisions between two simple polygons, or between a polygon and a circle. As with all algorithms, it has its strengths and its weaknesses.... code.tutsplus.com - 분리 축 정리를 이용한 충돌 감..
-
[Ajax] file drag and drop upload공부/Flask 2023. 10. 11. 12:02
참고: https://www.easydevguide.com/posts/drag_drop_upload Upload multiple files using "drag and drop" with html5 and flask - EasyDevGuide.com Upload multiple files using "drag and drop" with html5 and flask In the aritcle How to upload multiple files with python flask, we showed how to upload with html form. In this aritcle, we will show how to upload in the "drag and drop" way. In this way, we ww..
-
[python-pptx] 파이썬 업무 자동화공부/Python 2023. 9. 19. 17:25
python-pptx Library: PowerPoint(.pptx) 파일을 조작하기 위한 라이브러리 https://python-pptx.readthedocs.io/en/latest/ python-pptx — python-pptx 0.6.22 documentation python-pptx Release v0.6.22 (Installation) python-pptx is a Python library for creating, reading, and updating PowerPoint (.pptx) files. A typical use would be generating a PowerPoint presentation from dynamic content such as a database query, anal..
-
[C] 키오스크 - IEC61508 위배 코드공부/C 2023. 8. 4. 17:23
IEC 61508 표준 위배 코드 작성 06/04 ~ #include #include #include // 키 입력 #define UP 72 #define LEFT 75 #define RIGHT 77 #define DOWN 80 #define ENTER 13 #define MENUNUM 4 #define OPTION(a) a?"hot":"ice" static int pageStatement = 0; // 콘솔에 위치할 메뉴의 높이, 메뉴의 개수 //static int menuHeight = 8; //static int menuNumber = 2; static const char* menu[MENUNUM][2] = { {"Americano", "2000"}, {"Cafe_Latte", "3000"}, {"..