IRiS nX
114 ARTICLES / 235 REPLIES [1:2]
=ADMIN=


#149. ¿íÀÌ
3D ŸÀÏ ºÙÀ̱⿡¼­ ij¸¯Å͸¦ ¿òÁ÷ÀÌ°Ô ÇÏ·Á¸é ¾îÂîÇϳª¿ä? 2005/10/27 (Thu)

º¸ÀÌ´Â °¢µµ´Â ³öµÎ°í ij¸¯Å͸¸ À̵¿ÇÏ·Á¸é
¼Ò½º¿¡¼­ ¾î¶»°Ô ÇØ¾ß Çϳª¿ä?
x,y x,z, y,z Á¶ÇÕ ÀüºÎ Çغôµ¥...
°øºÎÁßÀε¥ ¿µ ¾î·Æ³×¿ä...
±×¸®°í Ç×»ó ¾çÁúÀÇ °­Á Á¤¸» °¨»çÇÕ´Ï´Ù.

#149-1. ¾È¿µ±â 2005/10/28 (Fri)
±× ¼Ò½º´Â ij¸¯ÅÍ°¡ Ç×»ó (0,0)À¸·Î µÇ¾î ÀÖ½À´Ï´Ù.
¿òÁ÷À̽÷Á¸é... Test()¶ó´Â ÇÔ¼ö Á¦ÀÏ ¸¶Áö¸· ºÎºÐÀÇ 20ÁÙÀ» °íÄ¡¸é µÇ´Âµ¥¿ä.. vertices[0].position°ú vertices[1].position¸¸ ¼öÁ¤ÇÏ¸é µË´Ï´Ù. ±¸Ã¼ÀûÀÎ ¹æ¹ýÀº....

vertices[0].position := D3DXVector3(s_chara_x + -0.5 * sin(angle), 1.0, s_chara_y + 0.5 * cos(angle));

ó·³ s_chara_x¿Í s_chara_y¸¦ Ãß°¡ÇϽðí ÀÌ°ÍÀ» »ç¿ëÀÚ °ª¿¡ µû¶ó º¯È­½ÃÅ°¸é ŸÀÏ À§¸¦ ¿òÁ÷ÀÔ´Ï´Ù. ¸¸¾à Á¡ÇÁ¸¦ ÇÏ°Ô ÇÏ·Á¸é 1.0À̶ó´Â °ª¿¡ +/-¸¦ ÇØÁÖ¸é µË´Ï´Ù. (ÇöÀç yÃàÀÌ ³ôÀÌ ¹æÇâÀÔ´Ï´Ù)


NAME / EMAIL
URL
SUBJECT
MESSAGE
ATTACH
ATTACH STYLE COOKIE  
[PREV] [NEXT] return


IRiS nX by NvyU =starry scape=