Commit 45c26940 authored by nadro's avatar nadro

- More improvements in client states handling.

- Removed debug info drawing for a light in example no. 11.

git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@4415 dfc29bdd-3216-0410-991c-e03cc46cb475
parent 4e0dc592
......@@ -368,9 +368,6 @@ int main()
smgr->addLightSceneNode(0, core::vector3df(0,0,0),
video::SColorf(0.5f, 1.0f, 0.5f, 0.0f), 800.0f);
light1->setDebugDataVisible ( scene::EDS_BBOX );
// add fly circle animator to light 1
scene::ISceneNodeAnimator* anim =
smgr->createFlyCircleAnimator (core::vector3df(50,300,0),190.0f, -0.003f);
......
This diff is collapsed.
......@@ -631,7 +631,7 @@ namespace video
// Client State calls.
void setClientState(bool vertex, bool normal, bool color);
void setClientState(bool vertex, bool normal, bool color, bool texCoord0);
// Depth calls.
......@@ -646,6 +646,8 @@ namespace video
// Texture calls.
void setActiveTexture(GLenum texture);
void setClientActiveTexture(GLenum texture);
void setTexture(u32 stage, bool fixedPipeline);
......@@ -655,6 +657,7 @@ namespace video
bool ClientStateVertex;
bool ClientStateNormal;
bool ClientStateColor;
bool ClientStateTexCoord0;
bool DepthMask;
GLenum DepthFunc;
......@@ -662,7 +665,8 @@ namespace video
GLenum MatrixMode;
GLenum ActiveTexture;
GLenum ActiveTexture;
GLenum ClientActiveTexture;
const ITexture* Texture[MATERIAL_MAX_TEXTURES];
bool TextureFixedPipeline[MATERIAL_MAX_TEXTURES];
......
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