Irrlicht3d.org
::
Blog
|
About Me
|
Twitter
Add comment for
Irrlicht 1.3 crashing your custom scene nodes?
Posted by:
Enter the missing letter in: "Internationa?"
Text:
[quote][b]sanjin[/b] wrote: well, "empty interface function" ^^ actualy it is defined that way: virtual video::SMaterial& getMaterial(u32 num) { return *((video::SMaterial*)0); } casting a nullpointer to a reference :D i mean, if that doesn't produce a crash i don't know ^^ hmm, maybe it should be pure virtual since if someone wants to code a scenenode which doesn't have any material than he shall write something dangerous like this on his own so he knows what the code is doing.[/quote]
Possible Codes
Feature
Code
Link
[url] www.example.com [/url]
Bold
[b]bold text[/b]
Quote
[quote]quoted text[/quote]
Code
[code]source code[/code]
Emoticons