erebus

diff liberebus/src/scene.h @ 41:2e817711d0f6

console: proper input line windowing and clipping
author John Tsiombikas <nuclear@member.fsf.org>
date Tue, 10 Jun 2014 12:28:56 +0300
parents 9d6368850fe1
children ed18af9da8f7
line diff
     1.1 --- a/liberebus/src/scene.h	Tue Jun 10 10:53:19 2014 +0300
     1.2 +++ b/liberebus/src/scene.h	Tue Jun 10 12:28:56 2014 +0300
     1.3 @@ -3,6 +3,7 @@
     1.4  
     1.5  #include <stdio.h>
     1.6  #include <vector>
     1.7 +#include <list>
     1.8  #include "snode.h"
     1.9  #include "camera.h"
    1.10  #include "color.h"
    1.11 @@ -15,6 +16,11 @@
    1.12  	Environment();
    1.13  };
    1.14  
    1.15 +struct ObjectInstance {
    1.16 +	Object *obj;
    1.17 +	SceneNode *node;
    1.18 +};
    1.19 +
    1.20  class Scene {
    1.21  private:
    1.22  	Environment env;