ccdemos/common_ply.h
branchpyrit
changeset 100 c005054bf4c1
parent 93 96d65f841791
equal deleted inserted replaced
99:f3abdaa2e8fb 100:c005054bf4c1
     1 #include <iostream>
     1 #include <iostream>
     2 #include <fstream>
     2 #include <fstream>
     3 #include <iomanip>
     3 #include <iomanip>
       
     4 #include "raytracer.h"
       
     5 #include "mempool.h"
     4 
     6 
     5 void load_ply(Raytracer &rt, const char *filename, Material *mat, const Vector &scale, const Vector &transp)
     7 void load_ply(Raytracer &rt, const char *filename, Material *mat, const Vector &scale, const Vector &transp)
     6 {
     8 {
     7 	MemoryPool<Triangle> *mp_tri;
     9 	MemoryPool<Triangle> *mp_tri;
     8 	MemoryPool<NormalVertex> *mp_vert;
    10 	MemoryPool<NormalVertex> *mp_vert;