Exemple:
Code: Select all
void Scale(int one)
{
setScale(one);
}
Code: Select all
void Scale(int one)
{
setScale(one);
}
Code: Select all
void ISceneNode::setScale(const irr::core::vector3df &scale);
Code: Select all
#include <irrlicht.h>
using namespace irr;
using namespace core;
using namespace scene;
using namespace video;
using namespace io;
using namespace gui;
void Scale(irr::f32 one, irr::f32 two, irr::f32 three)
{
setScale(core::vector3df(one,two,three));
}
Code: Select all
node->setScale()
Code: Select all
void Scale( ISceneNode* node, f32 fScale )
{
node->setScale (vector3df( fScale, fScale, fScale ));
}
Code: Select all
#define Scale(x,y,z) setScale(x,y,z)
wow, how challenging !!!M4UNOT wrote:but i think maybe none of you ..know how to do this function..
but it seems that you don't already know this...M4UNOT wrote:asking me to read som c++ tutorial that i already know