Just to explain why the code of the first post didn't work (since I think nobody explained it) :
your first file includes the second file, its ok
but the second file includes the first file, which gives you infinite recursion (first includes seconds includes first includes second, etc.).
In your ...
Search found 4 matches
- Sun Nov 26, 2006 6:45 pm
- Forum: Beginners Help
- Topic: Problem with classes [C++ question]
- Replies: 16
- Views: 1278
- Sun Nov 26, 2006 6:30 pm
- Forum: Beginners Help
- Topic: cant load png-texture
- Replies: 4
- Views: 709
Yes, it is a power of 2, and I have found the problem for transparency : I did not configure the MaterialTypeParam properly : it needs to be very low (since its the threshold at which the alpha value is considered to be completely transparent), but not zero because zero is considered the same as 0.5 ...
- Sun Nov 26, 2006 6:19 pm
- Forum: Beginners Help
- Topic: Png alpha problems
- Replies: 9
- Views: 872
- Sun Nov 26, 2006 5:37 pm
- Forum: Beginners Help
- Topic: cant load png-texture
- Replies: 4
- Views: 709