본문 바로가기 메뉴 바로가기

jadore happy life

프로필사진
  • 글쓰기
  • 관리
  • 태그
  • 방명록
  • RSS

jadore happy life

검색하기 폼
  • 분류 전체보기 (27)
    • redis (3)
    • processing (7)
    • zeroMQ (0)
    • wordpress (1)
    • DigitalOcean (0)
    • spark (0)
    • C++ (1)
    • Linux (0)
    • Docker (0)
    • R (0)
    • Utility (0)
    • Java (0)
    • Scala (0)
    • Node.js (0)
    • Oracle Database (0)
    • life (2)
    • python (3)
    • arduino (5)
    • rust (0)
  • 방명록

C++ (1)
OpenGL 기반의 Walker 예제

#include #include #include #include #include #include #include using namespace std; const int width = 640;const int height = 480; class Walker {public : int x,y;double timeFrame = 0.0;double deltaTime = 0.01; Walker() {srand((unsigned)time(NULL));// seed valuex = width/2;y = height/2;} // Randomly move to any neighboring pixel (or stay in the same spot)void step() {timeFrame = timeFrame + deltaT..

C++ 2017. 3. 5. 17:15
이전 1 다음
이전 다음
공지사항
최근에 올라온 글
최근에 달린 댓글
Total
Today
Yesterday
링크
TAG
  • 파일
more
«   2026/04   »
일 월 화 수 목 금 토
1 2 3 4
5 6 7 8 9 10 11
12 13 14 15 16 17 18
19 20 21 22 23 24 25
26 27 28 29 30
글 보관함

Blog is powered by Tistory / Designed by Tistory

티스토리툴바