00001 00005 #ifndef _SCENE_HPP_ 00006 #define _SCENE_HPP_ 00007 00008 #include <matrix3.hpp> 00009 #include <v3.hpp> 00010 #include <mesh.hpp> 00011 00012 #include <vector> 00013 00014 class scene 00015 { 00016 public: 00017 00019 void load_model(); 00021 void draw_scene(); 00022 00023 private: 00024 00025 cpe::mesh mesh_0; 00026 std::vector<double> mesh_0_normal; 00027 00028 cpe::mesh mesh_1; 00029 std::vector<double> mesh_1_normal; 00030 00031 cpe::mesh mesh_plan; 00032 std::vector<double> mesh_plan_normal; 00033 00034 void creation_damier(); 00035 void affichage_damier(); 00036 00037 }; 00038 00039 #endif