GLUPROJECT(3G) | GLUPROJECT(3G) |
̾??¶
gluProject ???֥??????Ⱥ?ɸ?Ϥ????ɥ???ɸ?Ϥ˥ޥåפ???
????¶
GLint gluProject( GLdouble objX,
GLdouble objY, GLdouble objZ, const GLdouble *model, const GLdouble *proj, const GLint *view, GLdouble* winX, GLdouble* winY, GLdouble* winZ )
??????¶
- objX, objY, objZ
- ???֥??????Ⱥ?ɸ?????ꤹ?롣
- model
- ???ߤΥ??ǥ??ӥ塼?????????ꤹ??(glGetDoublev ?ؿ???????????????)??
- proj
- ???ߤμͱƹ????????ꤹ??(glGetDoublev ?ؿ???????????????)??
- view
- ???ߤΥӥ塼?ݡ??Ȥ????ꤹ??(glGetIntegerv ?ؿ???????????????)??
- winX, winY, winZ
- ???Ф??줿???????ɥ???ɸ???֤????롣
????¶
gluProject ?ϻ??ꤵ?줿???֥??????Ⱥ?ɸ???? model, proj, view ???Ȥäƥ??????ɥ???ɸ???Ѵ????롣 ?Ѵ????̤? winX, winY, winZ ?˳?Ǽ?????롣 ?֤??? GL_TRUE ????????ɽ?????֤??? GL_FALSE ?? ???Ԥ?ɽ????
??ɸ?????ϼ??Τ褦?˹Ԥ??? ?ޤ? ?? 4 ?? 1 ???ι????????롣 ???? gluProject ?? ?Τ褦?˷?????:
is the current projection matrix proj, is the current matrices in column-major order) and ' ' represents ?????ǡ? ?ϸ??ߤμͱƹ??? proj, ?ϸ??ߤ? ???ǥ??ӥ塼???? model ?Ǥ???(?ɤ????? ?????ǡ? ?????Ǥ?Ϣ³???????Ȥʤ?)?? ' ' ?Ϲ??????Ѥ?ɽ????
?????ȡ????????ɥ???ɸ?ϼ??Τ褦?˻??Ф?????:
??Ϣ????¶
glGet, gluUnProject