Notice
Recent Posts
Recent Comments
Link
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |
Tags
- Lv.3
- 백준 c++ 2468번
- 백준 1103번 게임
- 오브젝트 풀링
- 2870번 수학숙제 c++
- 유니티
- 코테
- 백준 1103번
- 백준 1103번 c++
- 2870번 c++
- 백준
- 프로그래머스
- 수학숙제
- 2468 c++
- 백준 17070번
- 코딩테스트
- C#
- Unity
- 백준 17070번 c++
- 플레이어 이동
- Algorithm
- 백준 2870번
- 17070번
- 백준 c++ 2870번
- 2870번
- 2870번 수학숙제
- Lv2
- Beakjoon
- dfs
- c++
Archives
- Today
- Total
목록Vector3 (1)
주녘공부일지
[Unity3D] Vector3
Vector3 3차원 벡터와 각 x, y, z 축에 따른 위치를 표현 가능한 구조체 Vector3와 일부 같은 역할을 하는 구조체를 만든 예제 struct MyVector { public float x; public float y; public float z; public float magitude { get { return Mathf.Sqrt(x * x + y * y + z * z); } } public MyVector normalized { get { return new MyVector(x / magitude, y / magitude, z / magitude); } } public MyVector(float x, float y, float z) { this.x = x; this.y = y; this...
GameDevelopment/[Unity] Class, Pattern
2022. 2. 21. 18:08