view Renderer/Engine/matrix.h @ 1087:20f09564c586 draft

fix (not yet tested)
author root@localhost.localdomain
date Fri, 17 Dec 2010 18:34:29 +0900
parents 294bc9364bee
children
line wrap: on
line source

#ifndef INCLUDED_MATRIX
#define INCLUDED_MATRIX

#include "TaskManager.h"
#include "SceneGraphRoot.h"

    struct MatrixList {
      float *matrix;
      MatrixList *next;
      
    };
    
    struct MatrixListInfo {
      int id;
      float *coord_pack;
      int coord_pack_size;
      int list_length;
      MatrixList *first;
      MatrixList *last;
      MatrixListInfo *next;
    };


extern float* copy_matrix(SceneGraphPtr sg, TaskManager *manager) ;

extern void print_matrix(float *matrix) ;


extern void add_matrix_list(SceneGraphPtr sg, TaskManager *manager, MatrixListInfo* info) ;


extern void new_matrix_info(SceneGraphPtr sg, TaskManager *manager, MatrixListInfo* info) ;


extern void collect_matrix(SceneGraphPtr sg, MatrixListInfo *matrix_info, TaskManager *manager) ;
  

extern void check_matrix(MatrixListInfo *matrix_info,SceneGraphPtr sg) ;

#endif