작업/opengl

Lesson 8: Drawing Text

한종서 2012. 7. 27. 18:17

 charsetmain.cpptext3d.cpptext3d.h

Drawing Text screenshot

t3dInit();     // Font를 파일에서 읽어온다.

_scale = computeScale(STRS); //문자열의 스케일링 값을 계산한다.

t3dDraw3D(STRS[i], 0, 0, 0.2f); //문자열 그림을 출력

t3dCleanup();     //동적할당한 3D 폰트를 제거