Mercurial > hg > old > magoroku_racing
annotate col.h @ 0:0fae5658fb0b
Initial revision
author | gongo |
---|---|
date | Thu, 02 Nov 2006 08:55:19 +0000 |
parents | |
children | 8edae89a3877 |
rev | line source |
---|---|
0 | 1 /* |
2 * $Id$ | |
3 */ | |
4 typedef struct detection_face { | |
5 FVECTOR p0; | |
6 FVECTOR v0; | |
7 FVECTOR v1; | |
8 FVECTOR normal; | |
9 } ColFace, *ColFacePtr; | |
10 | |
11 typedef struct col_face_handler { | |
12 ColFacePtr colface; | |
13 void* free_addr; | |
14 int facenum; | |
15 } ColFaceHd; | |
16 | |
17 extern void col_init(ColFaceHd* hd, PolygonInfo* face); | |
18 extern Bool col_detect(ColFaceHd* hd, FVECTOR pose, FVECTOR p); |