Recent posts

Path-Finding

November 14 2021

๊ณต๊ฐ„ ๋ถ„ํ• ์˜ ํƒ€์ž… Grid QuadTree/OctTree Waypoint graphs Coner graphs Circle-based waypoint graphs Navigation meshess

Memory Allocator

November 13 2021

new/delete์™€ ์‚ฌ์šฉํ•˜์ง€ ์•Š๋Š” ์ด์œ ? ๊ธฐ๋Šฅ์˜ ๊ณผ๋„ํ•œ ๋ฒ”์šฉ์„ฑ ๋ฉ”๋ชจ๋ฆฌ ํ• ๋‹น ๋„ˆ๋จธ์˜ hidden behavior ์ˆ˜ํ–‰ ๋ถˆ์ถฉ๋ถ„ํ•œ ๊ธฐ๋Šฅ

VSync์™€ Anti Aliasing

November 12 2021

์ˆ˜์ง๋™๊ธฐํ™” VSync ํ™”๋ฉด์ฃผ์‚ฌ์œจ๊ณผ ๊ฒŒ์ž„ ํ™”๋ฉด์˜ FrameRate๋ฅผ ๋™๊ธฐํ™” ๋ชจ๋‹ˆํ„ฐ๋Š” ๊ฐ๊ฐ ๊ณ ์œ ์˜ ์ฃผ์‚ฌ์œจ์ด ์žˆ๋‹ค 60Hz๋Š” 1์ดˆ์— 60๋ฒˆ ์Šคํฌ๋ฆฐ์„ ์—…๋ฐ์ดํŠธ ํ•œ๋‹ค๋Š” ์˜๋ฏธ ํ•˜๋“œ์›จ์–ด ๊ณ ์œ ์˜ ์ œํ•œ ์‚ฌํ•ญ์ด๋ฏ€๋กœ, ํ”„๋กœ๊ทธ๋žจ ๋ฐ PC ์„ฑ๋Šฅ๊ณผ ๋ฌด๊ด€ ๊ฒŒ์ž„ ํ”„๋ ˆ์ž„์€ ๊ฒŒ์ž„ Scene์„ 1์ดˆ์— ๋ช‡ ๋ฒˆ ๊ทธ๋ฆฌ๋Š”์ง€๋ฅผ ์˜๋ฏธ ...

Singleton ํŒจํ„ด

November 12 2021

Singleton ์˜ค์ง ํ•œ ๊ฐœ์˜ instance๋งŒ์„ ๊ฐ–๋„๋ก ๋ณด์žฅ ์ „์—ญ ์ƒํƒœ๋ฅผ ๊ด€๋ฆฌํ•˜๋Š” ํด๋ž˜์Šค์—๊ฒŒ ํ•„์š”

Template vs. Generic

November 11 2021

C++ Template vs. C# Generic C++ ์€ ์ปดํŒŒ์ผ์ด 1๋ฒˆ ์ผ์–ด๋‚˜๊ณ , C# ์ œ๋„ค๋ฆญ์€ ์ปดํŒŒ์ผ์ด 2๋ฒˆ ์ผ์–ด๋‚œ๋‹ค. C++ ํ…œํ”Œ๋ฆฟ์€ ์‚ฌ์šฉํ•˜์ง€ ์•Š์œผ๋ฉด ์ปดํŒŒ์ผํ•˜์ง€ ์•Š๋Š”๋‹ค. ํ•˜์ง€๋งŒ, C# ์ œ๋„ค๋ฆญ์€ ์‚ฌ์šฉํ•˜์ง€ ์•Š๋”๋ผ๋„ ๊ทธ์— ๊ด€๋ จ๋œ ์ •๋ณด๋ฅผ ์ €์žฅํ•˜๊ธฐ ์œ„ํ•œ ๋ฉ”ํƒ€๋ฐ์ดํ„ฐ๊ฐ€ ์ƒ์„ฑ๋œ๋‹ค. ์ œ๋„ค๋ฆญ์€ ๋น„ํ˜•์‹ ํƒฌํ”Œ๋ฆฟ ...