CGAugmentedRealityProject is an open source project powered by Assembla

Assembla offers free public and private SVN/Git repositories and project hosting with bug/issue tracking and collaboration tools.

CGAugmentedRealityProject

/projetocg
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
/*
 * File:   object.h
 * Author: hugo
 *
 * Created on 13 de Dezembro de 2009, 19:29
 */

#ifndef _OBJECT_H
#define    _OBJECT_H

#define   OBJECT_MAX       30

typedef struct {
    char       name[256];
    int        id;
    int        visible;
    int           collide;
    double     marker_coord[4][2];
    double     trans[3][4];
    double     marker_width;
    double     marker_center[2];
} ObjectData_T;

ObjectData_T  *read_ObjData( const char *name, int *objectnum );
int colidiu( ObjectData_T obj1, ObjectData_T obj2);

#endif    /* _OBJECT_H */
Ajax-loader Loading, please wait...