*Merge.
--HG-- branch : trunk
This commit is contained in:
@@ -394,6 +394,12 @@ class TRINITY_DLL_SPEC WorldObject : public Object
|
||||
// angle calculated from current orientation
|
||||
GetNearPoint(NULL,x,y,z,size,distance2d,GetOrientation() + angle);
|
||||
}
|
||||
void GetClosePointAt(float &x, float &y, float &z, float dist, float angle);
|
||||
void GetClosePoint(float &x, float &y, float &z, float dist, float angle)
|
||||
{
|
||||
GetPosition(x, y, z);
|
||||
GetClosePointAt(x, y, z, dist, angle);
|
||||
}
|
||||
void GetContactPoint( const WorldObject* obj, float &x, float &y, float &z, float distance2d = CONTACT_DISTANCE) const
|
||||
{
|
||||
// angle to face `obj` to `this` using distance includes size of `obj`
|
||||
|
||||
Reference in New Issue
Block a user