Recent posts

[C++] explicit

October 13 2021

์•”์‹œ์  ๋ณ€ํ™˜(implicit conversion)

[C++] mutable

October 11 2021

mutable ์‚ฌ์šฉ ์˜ˆ์‹œ

[Misc] Precompiled Header

August 22 2021

Precompiled Header(๋ฏธ๋ฆฌ ์ปดํŒŒ์ผ๋œ ํ—ค๋”) ํ—ค๋”๋ฅผ ๋ฏธ๋ฆฌ ์ปดํŒŒ์ผ ํ•ด๋‘๋Š” ๊ฒƒ ์ž์ฃผ ๋ณ€๊ฒฝ๋˜์ง€ ์•Š๋Š” ๊ธด์†Œ์Šค๋ฅผ ๋ฏธ๋ฆฌ ์ปดํŒŒ์ผํ•˜์—ฌ ์ปดํŒŒ์ผ ๊ฒฐ๊ณผ๋ฅผ ๋ณ„๋„์˜ ํŒŒ์ผ์— ์ €์žฅ ๋‹ค์‹œ ๋˜‘๊ฐ™์€ ํ—ค๋”๋ฅผ ์ปดํŒŒ์ผํ•  ๊ฒฝ์šฐ ํ•ด๋‹น ํŒŒ์ผ์„ ์ฒ˜์Œ๋ถ€ํ„ฐ ์ปดํŒŒ์ผํ•˜์ง€ ์•Š๊ณ , ๋ฏธ๋ฆฌ ์ปดํŒŒ์ผ๋œ ํ—ค๋” ํŒŒ์ผ์„ ์‚ฌ์šฉํ•ด ์ปดํŒŒ์ผ ์†๋„๋ฅผ ์›”๋“ฑํžˆ ํ–ฅ์ƒ

[C#] dynamic

August 21 2021

๋™์  ํ˜•์‹ dynamic ๋ณ€์ˆ˜ ๋ฐ ํ•ด๋‹น ๋ฉค๋ฒ„์— ๋Œ€ํ•œ ์ฐธ์กฐ ์‚ฌ์šฉ์— ๋Œ€ํ•œ ์ปดํŒŒ์ผ ํƒ€์ž„ ๊ฒ€์‚ฌ๋ฅผ ํŒจ์‹ฑ ๋Ÿฐํƒ€์ž„์—์„œ ํ™•์ธ ๋Œ€๋ถ€๋ถ„์˜ ์ƒํ™ฉ์—์„œ object ์ฒ˜๋Ÿผ ๋™์ž‘ ๊ทธ๋Ÿฌ๋‚˜ ์ปดํŒŒ์ผ๋Ÿฌ๊ฐ€ ํ˜•์‹์„ ๊ฒ€์‚ฌํ•˜์ง€ ์•Š์€ ์ƒํƒœ ์ปดํŒŒ์ผ ํƒ€์ž„์„ ๊ฑฐ์น˜๋ฉฐ object ํƒ€์ž…์œผ๋กœ ๋ณ€ํ™˜ ๋Ÿฐํƒ€์ž„์—์„œ dynamic...

[C++] STL - map vs. unordered_map

August 20 2021

map ๋ ˆ๋“œ ๋ธ”๋ž™ ํŠธ๋ฆฌ ๊ธฐ๋ฐ˜ ๊ฒ€์ƒ‰์†๋„๊ฐ€ ๋น ๋ฅธ Binary Search Tree(BST) + Self-Balancing ๊ธฐ๋Šฅ์„ ์ถ”๊ฐ€ O(logN)์„ ๋ณด์žฅํ•˜๋Š” ์ˆ˜์ค€์œผ๋กœ Balancing ํ‚ค ๊ฐ’์˜ ๋ถ„ํฌ๊ฐ€ ๊ณ ๋ฅด์ง€ ๋ชปํ•  ๊ฒฝ์šฐ node rotation์— ๋Œ€ํ•œ ๋น„์šฉ์ด ๊ณ„์† ๋ฐœ์ƒํ•˜๊ธฐ์— Insert / Delete ์„ฑ๋Šฅ์ด...

[Unity] Gizmo

August 11 2021

Gizmo ์”ฌ ๋ทฐ์—์„œ ํŽธ์ง‘์ด๋‚˜ ๋””๋ฒ„๊น…์„ ์œ„ํ•ด ์˜ค๋ธŒ์ ํŠธ์˜ ์œ„์น˜๋‚˜ ๋ฒ”์œ„, ํŠน์ • ์š”์†Œ๋ฅผ ๊ฐ€์‹œํ™”

[Misc] ์™œ Lua๋ฅผ ์“ฐ๋Š”๊ฐ€

August 11 2021

Lua ์Šคํฌ๋ฆฝํŠธ ์ ˆ์ฐจ์‹ ๋ช…๋ น์‹ ์Šคํฌ๋ฆฝํŠธ ์–ธ์–ด ๊ฐ„๋‹จํ•œ ์ž๋ฃŒ๊ตฌ์กฐ : boolean, number, string, table ํ•ต์‹ฌ ๋ชจ๋“ˆ์˜ ํฌ๊ธฐ๊ฐ€ 120KB ์ดํ•˜ ๊ฒŒ์ž„ ๊ฐœ๋ฐœ์— ์ž์ฃผ ์‚ฌ์šฉ๋˜๋Š” Python์— ๋น„ํ•ด ๋น ๋ฅธ ์‹คํ–‰ ์†๋„๋ฅผ ๊ฐ€์ง ์˜คํ”ˆ์†Œ์Šค

[C++] PP vs. OOP vs. DOP

August 11 2021

Procedural Programing (์ ˆ์ฐจ์  ํ”„๋กœ๊ทธ๋ž˜๋ฐ) ๋ฐ์ดํ„ฐ๋ฅผ ์ค‘์‹ฌ์œผ๋กœ ํ•จ์ˆ˜๋ฅผ ๋งŒ๋“ค์–ด ์‚ฌ์šฉ ํ”„๋กœ๊ทธ๋žจ์ด ํ•จ์ˆ˜ํ™” ๋˜์–ด ์ˆœ์ฐจ์ ์œผ๋กœ ์ฒ˜๋ฆฌ ํ”„๋กœ๊ทธ๋žจ ์ „์ฒด๊ฐ€ ์œ ๊ธฐ์ ์œผ๋กœ ์—ฐ๊ฒฐ ์žฅ์  ์ปดํ“จํ„ฐ์˜ ์ฒ˜๋ฆฌ๊ตฌ์กฐ์™€ ์œ ์‚ฌํ•ด ์‹คํ–‰์†๋„๊ฐ€ ๋น ๋ฆ„ ๋‹จ์  ์œ ์ง€๋ณด์ˆ˜๊ฐ€ ์–ด๋ ค์›€ ์‹คํ–‰ ์ˆœ์„œ๊ฐ€ ์ •ํ•ด์ ธ ์žˆ์œผ๋ฏ€...

[C#] Event Queue

August 04 2021

Event ํ•œ object์— ์˜ํ•ด ์–ด๋–ค action์ด ๋ฐœ์ƒํ–ˆ์Œ์„ ์•Œ๋ฆฌ๋Š” notification .NET์—์„œ๋Š” observer design pattern์„ ์‚ฌ์šฉ

[3D Graphcis] Texture ์‚ฌ์ด์ฆˆ

July 30 2021

Texture ์‚ฌ์ด์ฆˆ๋ฅผ 2์˜ ์ œ๊ณฑ์ˆ˜๋กœ ์„ธํŒ…ํ•˜๋Š” ์ด์œ  ์˜ค๋Š˜๋‚  ๋Œ€๋ถ€๋ถ„์˜ GPU๋Š” ์ด๋Ÿฌํ•œ ์ œ์•ฝ์œผ๋กœ๋ถ€ํ„ฐ ์ž์œ ๋กญ๋‹ค (NPOT) RAM์„ ์‚ฌ์šฉํ•  ๋•Œ NPOT ์ด๋ฏธ์ง€๋Š” ๊ทธ๋ณด๋‹ค ํฐ ์‚ฌ์ด์ฆˆ์˜ POT๋กœ ํ™•์žฅ๋œ๋‹ค ์ด ๊ณผ์ •์—์„œ ๋ฉ”๋ชจ๋ฆฌ๋Š” ๋‚ญ๋น„๋œ๋‹ค ํ™•์žฅ๋œ ์‚ฌ์ด์ฆˆ๋งŒํผ ๊ฐ€์žฅ์ž๋ฆฌ์— edging artifact๊ฐ€ ๋ฐœ์ƒํ•  ์ˆ˜ ์žˆ๋‹ค ...