paiting entities - take rotations into account - closes #326

You can get advantage of life time of temporary object.

> On 30 Oct 2014, at 23:01, Mikulas Florek <notifications@github.com> wrote:
> 
> In qteditor/QtEditor/property_view.cpp:
> 
> >  			for(int i = 0, c = infos.size(); i < c; ++i)
> >  			{
> > -				Lumix::Vec3 pos = infos[i].m_matrix->getTranslation();
> > -				const Lumix::AABB& aabb = infos[i].m_model->getAABB();
> > -				if (!(x + max_x < pos.x + aabb.getMin().x || z + max_z < pos.z + aabb.getMin().z 
> > -					|| x + min_x > pos.x + aabb.getMax().x || z + min_z > pos.z + aabb.getMax().z))
> > +				Lumix::Vec3 pos_b = infos[i].m_matrix->getTranslation();
> getTranslation returns Vec3, not const Vec3&
> 
> —
> Reply to this email directly or view it on GitHub.