equal
deleted
inserted
replaced
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; |