view col.h @ 76:cd3457b7e098

*** empty log message ***
author gongo
date Thu, 09 Nov 2006 05:14:02 +0000
parents 0fae5658fb0b
children 8edae89a3877
line wrap: on
line source

/*
 * $Id$
 */
typedef struct detection_face {
    FVECTOR p0;
    FVECTOR v0;
    FVECTOR v1;
    FVECTOR normal;
} ColFace, *ColFacePtr;

typedef struct col_face_handler {
    ColFacePtr colface;
    void* free_addr;
    int facenum;
} ColFaceHd;

extern void col_init(ColFaceHd* hd, PolygonInfo* face);
extern Bool col_detect(ColFaceHd* hd, FVECTOR pose, FVECTOR p);