Posted: Wed Apr 27, 2005 7:56 pm
Thanks guys!
@keless: I overloaded an actual engine function and disassambled a real situation. Because otherwise you could get totally different result because the compiler might optimize away and falsify many things.
The function I implemented looks like this (ISceneNode.h):
This sets the values directly to the target vector without the need of turning it into one before.
@keless: I overloaded an actual engine function and disassambled a real situation. Because otherwise you could get totally different result because the compiler might optimize away and falsify many things.
The function I implemented looks like this (ISceneNode.h):
Code: Select all
virtual void setPosition(f32 x, f32 y, f32 z)
{
RelativeTranslation.set(x, y, z);
}