Merging r6364 through r6379 from trunk to ogl-es branch
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/branches/ogl-es@6380 dfc29bdd-3216-0410-991c-e03cc46cb475
This commit is contained in:
@@ -356,6 +356,7 @@ int main(int argc, char* argv[])
|
||||
// Add the mesh to the scene graph
|
||||
IMeshSceneNode* meshnode = smgr -> addMeshSceneNode(mesh.Mesh);
|
||||
meshnode->setMaterialFlag(video::EMF_BACK_FACE_CULLING, false);
|
||||
meshnode->getMaterial(0).Shininess = 80.f;
|
||||
|
||||
// light is just for nice effects
|
||||
ILightSceneNode *node = smgr->addLightSceneNode(0, vector3df(0,100,0),
|
||||
@@ -378,6 +379,7 @@ int main(int argc, char* argv[])
|
||||
camera->setTarget(vector3df(200.f, -80.f, 150.f));
|
||||
camera->setFarValue(20000.0f);
|
||||
}
|
||||
switchToMayaCamera(device);
|
||||
|
||||
/*
|
||||
Just a usual render loop with event handling. The custom mesh is
|
||||
|
Reference in New Issue
Block a user