view col.h @ 79:376bac6b05f1

*** empty log message ***
author gongo
date Thu, 09 Nov 2006 08:28:48 +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);