vphysics/physics_object.cpp
void CPhysicsObject::LocalToWorld( Vector *worldPosition, const Vector &localPosition ) const
{
	matrix3x4_t matrix;
	GetPositionMatrix( &matrix );
	// copy in case the src == dest
	VectorTransform( Vector(localPosition), matrix, *worldPosition );
}
// converts HL local units to HL world units
converts HL local units to HL world units
converts HL local units to HL world units
void CPhysicsObject::LocalToWorld( Vector *worldPosition, const Vector &localPosition ) const
{
	matrix3x4_t matrix;
	GetPositionMatrix( &matrix );
	VectorTransform( Vector(localPosition), matrix, *worldPosition );
}
void CPhysicsObject :: LocalToWorld ( Vector * worldPosition , const Vector & localPosition ) const { matrix3x4_t matrix ; GetPositionMatrix ( & matrix ) ; VectorTransform ( Vector ( localPosition ) , matrix , * worldPosition ) ; }
converts HL local units to HL world units
converts HL local units to HL world units
// copy in case the src == dest