If you are a new Irrlicht Engine user, and have a newbie-question, this is the forum for you. You may also post general programming questions here.
-
rtr_18
- Posts: 60
- Joined: Thu Jun 10, 2010 8:35 am
- Location: Programmer
Post
by rtr_18 »
Hi!
I got an error when compiling this code:
Code: Select all
material.TextureLayer[0].TextureWrap = video::ETC_REPEAT;
Error 4 error C2039: 'TextureWrap' : is not a member of 'irr::video::SMaterialLayer' c:\turs2\src\t2imageirr.cpp 124
How to solve this error?
-
Bate
- Posts: 364
- Joined: Sun Nov 01, 2009 11:39 pm
- Location: Germany
Post
by Bate »
There's been an API change.
Now it's:
Never take advice from someone who likes to give advice, so take my advice and don't take it.
-
rtr_18
- Posts: 60
- Joined: Thu Jun 10, 2010 8:35 am
- Location: Programmer
Post
by rtr_18 »
Which should I use?
TextureWrapU or TextureWrapV?
-
Bate
- Posts: 364
- Joined: Sun Nov 01, 2009 11:39 pm
- Location: Germany
Post
by Bate »
Both, unless you wanna do something specific.
Never take advice from someone who likes to give advice, so take my advice and don't take it.