The Gamegrammer | 게임하는 프로그래머

닫기 검색결과 전체 보기
"Circle" 검색결과 (2)
  • 유니티(Unity) | Random Point On Circle

    1234567public Vector3 RandomPointOnCircle(float radius){ float u = Random.Range(0f, 1f); float theta = u * (Mathf.PI * 2f); return new Vector3(radius * Mathf.Cos(theta), radius * Mathf.Sin(theta), 0f);}Colored by Color Scriptercs

    Programming/Unity
    2017. 10. 8. 13:48
  • 유니티(Unity) | Random Point Inside Circle

    123456789public Vector3 RandomPointInsideCircle(float radius){ float u = Random.Range(0f, 1f); float theta = u * (Mathf.PI * 2f); float sqrt = Mathf.Sqrt(Random.Range(0f, 1f)); radius *= sqrt; return new Vector3(radius * Mathf.Cos(theta), radius * Mathf.Sin(theta), 0f);}Colored by Color Scriptercs

    Programming/Unity
    2017. 10. 8. 13:38
이전페이지
더 보기
다음페이지
블로그 이미지

by Muramasa

    최근...

  • 포스트
  • 댓글
  • 더 보기

태그

  • Circle
  • Mesh
  • unity
  • random
  • FieldOfView
  • 2d
  • 에디터
  • 메쉬
  • 유니티
  • 랜덤
  • 계산기
  • sphere
  • c++
  • 시야각

카운터

Total
Today
Yesterday

공지사항

  • 홈
  • 태그
  • 미디어로그
  • 위치로그
  • 방명록
Muramasa's Blog is powered by daumkakao
Skin info material T Mark 5+ by 뭐하라
favicon

The Gamegrammer | 게임하는 프로그래머

  • 홈
  • 태그
  • 미디어로그
  • 위치로그
  • 방명록

관리자 메뉴

  • 관리자 모드
  • 글쓰기
  • 분류 전체보기 (16)
    • 비공개 포스팅 (0)
    • Programming (16)
      • Unity (7)
      • Unreal (0)
      • C++ (9)

카테고리

PC화면 보기 티스토리 Daum

티스토리툴바