view Renderer/Test_/property_universe.h @ 4:b5b462ac9b3b

Cerium Blender ball_bound
author Daiki KINJYO <e085722@ie.u-ryukyu.ac.jp>
date Mon, 29 Nov 2010 16:42:42 +0900
parents
children
line wrap: on
line source

#include <math.h>
#include <stdlib.h>
#include "SceneGraphRoot.h"
#include "Application.h"
#include "MainLoop.h"
#include "viewer.h"

typedef struct {
    float xyz[3];  // 12 byte
    float angle[3];
    float stack_xyz[3];
    int property_index;
    int parent_index;
    int have_parent;
    /*
    SceneGraphPtr parent;
    SceneGraphPtr children;
    SceneGraphPtr node;
    */
    memaddr parent;
    memaddr children;
    memaddr node;
    const char *name;
} *PropertyPtr, Property;

class property_universe : public Application {

    MainLoopPtr init(Viewer *viewer, int screen_w, int screen_h);

};