irrlicht/source/Irrlicht.NET/IBillboardSceneNode.cpp
bitplane 30b56d2ec5 Moved everything to /trunk
git-svn-id: http://svn.code.sf.net/p/irrlicht/code/trunk@643 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-05-20 18:03:49 +00:00

30 lines
715 B
C++

// Copyright (C) 2002-2006 Nikolaus Gebhardt
// This file is part of the "Irrlicht Engine".
// For conditions of distribution and use, see copyright notice in irrlicht.h
#include "IBillboardSceneNode.h"
#include "NativeConverter.h"
namespace Irrlicht
{
namespace Scene
{
IBillboardSceneNode::IBillboardSceneNode(irr::scene::IBillboardSceneNode* realSceneNode)
: ISceneNode(realSceneNode)
{
}
Core::Dimension2Df IBillboardSceneNode::get_Size()
{
return irr::NativeConverter::getNETDim(getBillBoardSceneNode()->getSize());
}
void IBillboardSceneNode::set_Size(Core::Dimension2Df dim)
{
getBillBoardSceneNode()->setSize(irr::NativeConverter::getNativeDim(dim));
}
}
}