Changeset 286 in flair-src for trunk/lib/FlairSimulator/src/MeshSceneNode.cpp
- Timestamp:
- 01/08/19 10:13:03 (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/lib/FlairSimulator/src/MeshSceneNode.cpp
r15 r286 49 49 } 50 50 51 MeshSceneNode::MeshSceneNode(ISceneNode *parent, IMesh *mesh, 52 const vector3df &position, 53 const vector3df &rotation, ITexture *texture, 54 s32 id) 55 : IMeshSceneNode(parent, getGui()->getSceneManager(), id, 56 position, rotation) { 57 Material.Wireframe = false; 58 Material.Lighting = false; 59 60 setMesh(mesh); 61 62 if (texture != NULL) { 63 setMaterialTexture(0, texture); 64 } 65 66 //parent->getBoundingBox().addInternalBox(getTransformedBoundingBox()); 67 } 68 51 69 void MeshSceneNode::OnRegisterSceneNode(void) { 52 70 if (IsVisible)
Note:
See TracChangeset
for help on using the changeset viewer.