Commit 257d754d authored by Henrik Zimmer's avatar Henrik Zimmer
Browse files

added option to enable/disable repeat and stuff

git-svn-id: http://www.openflipper.org/svnrepo/OpenFlipper/branches/Free@9912 383ad7c9-94d9-4d36-a494-682f7c89f535
parent 3537a5e7
......@@ -171,7 +171,8 @@ class BSplineSurfaceNodeT : public MaterialNode
/// use arbitrary texture (in SOLID_TEXTURED mode)
void set_arb_texture( const QImage& _texture, bool _repeat = false, float _u_repeat = 1.0f, float _v_repeat = 1.0f);
void set_repeat_arb_texture( bool _repeat = true, float _urep = 5.0f, float _vrep = 5.0f) { arb_texture_repeat_ = _repeat; arb_texture_repeat_u_ = _urep; arb_texture_repeat_v_ = _vrep; }
bool get_repeat_arb_texture( ) { return arb_texture_repeat_; }
private:
......
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