Commit dac64e00 authored by cutealien's avatar cutealien

Add some documentation.

git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@4460 dfc29bdd-3216-0410-991c-e03cc46cb475
parent 176804e4
...@@ -126,6 +126,9 @@ public: ...@@ -126,6 +126,9 @@ public:
*/ */
virtual void render() virtual void render()
{ {
/* Indices into the 'Vertices' array. A triangle needs 3 vertices
so you have to pass the 3 corresponding indices for each triangle to
tell which of the vertices should be used for it. */
u16 indices[] = { 0,2,3, 2,1,3, 1,0,3, 2,0,1 }; u16 indices[] = { 0,2,3, 2,1,3, 1,0,3, 2,0,1 };
video::IVideoDriver* driver = SceneManager->getVideoDriver(); video::IVideoDriver* driver = SceneManager->getVideoDriver();
......
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