02-10-2013, 08:04 AM
it would be cool to have a trade plugin.
could someone changein Entity.cpp
to
becouse now i get a message everytime i teleport.
could someone change
Code:
Vector3f cEntity::GetLookVector()
{
Matrix4f m;
m.Init( Vector3f(), 0, m_Rot.x, -m_Rot.y );
Vector3f Look = m.Transform( Vector3f(0, 0, 1) );
LOG("Look: %0.1f %0.1f %0.1f", Look.x, Look.y, Look.z );
return Look;
}
to
Code:
Vector3f cEntity::GetLookVector()
{
Matrix4f m;
m.Init( Vector3f(), 0, m_Rot.x, -m_Rot.y );
Vector3f Look = m.Transform( Vector3f(0, 0, 1) );
LOGD("Look: %0.1f %0.1f %0.1f", Look.x, Look.y, Look.z );
return Look;
}