view col.h @ 18:3780d1b2943e

*** empty log message ***
author gongo
date Sat, 04 Nov 2006 09:09:21 +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);