Add object module
This commit is contained in:
parent
9c01ba8811
commit
8d51a521bb
3 changed files with 32 additions and 0 deletions
|
@ -8,6 +8,7 @@ files = Split("""
|
||||||
basics.c
|
basics.c
|
||||||
camera.c
|
camera.c
|
||||||
charles.c
|
charles.c
|
||||||
|
object.c
|
||||||
scene.c
|
scene.c
|
||||||
writer_png.c
|
writer_png.c
|
||||||
""")
|
""")
|
||||||
|
|
15
src/object.c
Normal file
15
src/object.c
Normal file
|
@ -0,0 +1,15 @@
|
||||||
|
/* object.c
|
||||||
|
*
|
||||||
|
* Definition of scene Objects.
|
||||||
|
*
|
||||||
|
* Eryn Wells <eryn@erynwells.me>
|
||||||
|
*/
|
||||||
|
|
||||||
|
|
||||||
|
#include "object.h"
|
||||||
|
|
||||||
|
|
||||||
|
struct _Object
|
||||||
|
{
|
||||||
|
int type;
|
||||||
|
};
|
16
src/object.h
Normal file
16
src/object.h
Normal file
|
@ -0,0 +1,16 @@
|
||||||
|
/* object.h
|
||||||
|
*
|
||||||
|
* Declaration of scene Objects.
|
||||||
|
*
|
||||||
|
* Eryn Wells <eryn@erynwells.me>
|
||||||
|
*/
|
||||||
|
|
||||||
|
|
||||||
|
#ifndef __OBJECT_H
|
||||||
|
#define __OBJECT_H
|
||||||
|
|
||||||
|
|
||||||
|
typedef struct _Object Object;
|
||||||
|
|
||||||
|
|
||||||
|
#endif
|
Loading…
Add table
Add a link
Reference in a new issue