본문 바로가기

Dailelog

검색하기
Dailelog
프로필사진 Daile

  • 분류 전체보기 (74)
    • Dailelog (3)
    • 디자인패턴 (5)
    • JAVA (10)
      • JAVA SPRING (3)
    • 트러블 슈팅 (0)
    • 알고리즘 (24)
    • 언어 (17)
      • C언어 (10)
      • CPP (2)
      • CS (4)
      • 심심풀이 (1)
    • 일기 (6)
    • 활동 (5)
Guestbook
반응형
Notice
Recent Posts
Recent Comments
Link
  • 바삭이 GitHub
«   2025/05   »
일 월 화 수 목 금 토
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 31
Tags
  • lv2
  • 토마토
  • C
  • 2455
  • BFS
  • 7기
  • SQL
  • 프로그래머스
  • 로그인
  • 11660
  • 우테코 7기
  • cpp
  • 프리코스
  • c#
  • 블로그
  • 백준
  • 우테코
  • 회고
  • permissionevaluator
  • C++
  • 2차원 배열
  • c언어
  • 디자인 패턴
  • OCP
  • dailelog
  • Spring
  • 디자인패턴
  • DBMS
  • Java
  • JDBC
more
Archives
Today
Total
관리 메뉴
  • 글쓰기
  • 방명록
  • RSS
  • 관리

목록언어/심심풀이 (1)

Dailelog

중력 시뮬레이터

#include #include class GravitySource { sf::Vector2f pos; float strength; sf::CircleShape s; public: GravitySource(float pos_x, float pos_y, float strength) { pos.x = pos_x; pos.y = pos_y; this->strength = strength; s.setPosition(pos); s.setFillColor(sf::Color::Red); s.setRadius(15); //반지름 } void render(sf::RenderWindow& wind) { wind.draw(s); } sf::Vector2f get_pos() { return pos; } float get_st..

언어/심심풀이 2022. 9. 2. 18:25
이전 Prev 1 Next 다음

Blog is powered by kakao / Designed by Tistory

티스토리툴바