include/material.h
branchpyrit
changeset 80 907929fa9b59
parent 79 062b1c4143f7
child 81 9dbb9c8c115b
--- a/include/material.h	Wed Apr 23 14:39:33 2008 +0200
+++ b/include/material.h	Wed Apr 23 19:35:03 2008 +0200
@@ -29,7 +29,6 @@
 
 #include "common.h"
 #include "vector.h"
-#include "noise.h"
 
 /**
  * perlin noise
@@ -291,6 +290,7 @@
 	void setTransmissivity(const Float trans, const Float rindex)
 		{ transmissivity = trans; refract_index = rindex; };
 	void setSmooth(bool sm) { smooth = sm; };
+	void setTexture(Texture *tex) { texture = tex; };
 };
 
 #endif