Commit 061464d1 authored by hybrid's avatar hybrid

Add parameter name and remove unused constructor.

git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2785 dfc29bdd-3216-0410-991c-e03cc46cb475
parent c8570dca
...@@ -108,7 +108,7 @@ namespace scene ...@@ -108,7 +108,7 @@ namespace scene
virtual const core::aabbox3d<f32>& getBoundingBox() const; virtual const core::aabbox3d<f32>& getBoundingBox() const;
//! registers a node for rendering it at a specific time. //! registers a node for rendering it at a specific time.
virtual u32 registerNodeForRendering(ISceneNode* node, E_SCENE_NODE_RENDER_PASS = ESNRP_AUTOMATIC); virtual u32 registerNodeForRendering(ISceneNode* node, E_SCENE_NODE_RENDER_PASS pass = ESNRP_AUTOMATIC);
//! draws all scene nodes //! draws all scene nodes
virtual void drawAll(); virtual void drawAll();
...@@ -556,9 +556,6 @@ namespace scene ...@@ -556,9 +556,6 @@ namespace scene
//! sort on distance (sphere) to camera //! sort on distance (sphere) to camera
struct DistanceNodeEntry struct DistanceNodeEntry
{ {
DistanceNodeEntry(ISceneNode* n, f32 d)
: Node(n), Distance(d) {}
DistanceNodeEntry(ISceneNode* n, const core::vector3df& cameraPos) DistanceNodeEntry(ISceneNode* n, const core::vector3df& cameraPos)
: Node(n) : Node(n)
{ {
......
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