1
// Copyright (C) 2002-2011 Nikolaus Gebhardt
2
// This file is part of the "Irrlicht Engine".
3
// For conditions of distribution and use, see copyright notice in irrlicht.h
5
#ifndef __C_DUMMY_TRANSFORMATION_SCENE_NODE_H_INCLUDED__
6
#define __C_DUMMY_TRANSFORMATION_SCENE_NODE_H_INCLUDED__
8
#include "IDummyTransformationSceneNode.h"
15
class CDummyTransformationSceneNode : public IDummyTransformationSceneNode
20
CDummyTransformationSceneNode(ISceneNode* parent, ISceneManager* mgr, s32 id);
22
//! returns the axis aligned bounding box of this node
23
virtual const core::aabbox3d<f32>& getBoundingBox() const;
25
//! Returns a reference to the current relative transformation matrix.
26
//! This is the matrix, this scene node uses instead of scale, translation
28
virtual core::matrix4& getRelativeTransformationMatrix();
30
//! Returns the relative transformation of the scene node.
31
virtual core::matrix4 getRelativeTransformation() const;
34
virtual void render() {}
36
//! Returns type of the scene node
37
virtual ESCENE_NODE_TYPE getType() const { return ESNT_DUMMY_TRANSFORMATION; }
39
//! Creates a clone of this scene node and its children.
40
virtual ISceneNode* clone(ISceneNode* newParent=0, ISceneManager* newManager=0);
45
core::matrix4 RelativeTransformationMatrix;
46
core::aabbox3d<f32> Box;
49
} // end namespace scene
50
} // end namespace irr