Commit de05fddb authored by Ellen Dekkers's avatar Ellen Dekkers

Adapted Env Mapping node for new textureNode constructor

git-svn-id: http://www.openflipper.org/svnrepo/OpenFlipper/branches/Free@5988 383ad7c9-94d9-4d36-a494-682f7c89f535
parent 60f0e26c
......@@ -57,8 +57,10 @@ namespace SceneGraph {
EnvMapNode::EnvMapNode( BaseNode* _parent,
const std::string& _name )
: TextureNode(_parent, _name)
const std::string& _name ,
bool _texture_repeat,
GLint _texture_filter)
: TextureNode(_parent, _name,_texture_repeat,_texture_filter)
{}
......
......@@ -68,7 +68,9 @@ public:
/// Default constructor. Applies all properties.
EnvMapNode( BaseNode* _parent = 0,
const std::string& _name = "<EnvMapNode>" );
const std::string& _name = "<EnvMapNode>",
bool _texture_repeat = true,
GLint _texture_filter = GL_LINEAR );
/// set class name
ACG_CLASSNAME(EnvMapNode);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment