Commit be924b27 authored by hybrid's avatar hybrid

Fixed core dumps and loading errors. Some speedup and simplifications.

git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1629 dfc29bdd-3216-0410-991c-e03cc46cb475
parent f180825e
This diff is collapsed.
...@@ -71,16 +71,13 @@ namespace scene ...@@ -71,16 +71,13 @@ namespace scene
Note that loaded water plains from DeleD must have the suffix \b water_ and must be \b rectangle (with just 1 rectangular face). Note that loaded water plains from DeleD must have the suffix \b water_ and must be \b rectangle (with just 1 rectangular face).
Irrlicht correctly loads position and rotation of water plain as well as texture layers. Irrlicht correctly loads position and rotation of water plain as well as texture layers.
\return number of water plains loaded or 0 if loading failed.*/ \return number of water plains loaded or 0 if loading failed.*/
int loadWaterPlains ( const c8 *filename, int loadWaterPlains(const c8 *filename,
ISceneManager* smgr, ISceneManager* smgr,
ISceneNode * parent = 0, ISceneNode * parent = 0,
s32 base_id = 2000, s32 base_id = 2000,
bool mode = true); bool mode = true);
private: private:
void GetFaceNormal(f32 a[3], f32 b[3], f32 c[3], f32 out[3]);
ISceneManager* SceneMgr; ISceneManager* SceneMgr;
io::IFileSystem* FileSystem; io::IFileSystem* FileSystem;
}; };
......
This diff is collapsed.
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