Such as?

On Thursday, May 15, 2014, Matheus Venturyne Xavier Ferreira <
notifications@github.com> wrote:

> In common/4D/Transformation.cpp:
>
> > +}
> > +
> > +Vector4 Transformation::vectorToLocalSpace(Vector4 &vec,
> > +	Vector4 &agent_heading,
> > +	Vector4 &agent_side,
> > +	Vector4 &agent_top)
> > +{
> > +	vec.set(3, 0);
> > +	agent_heading.set(3, 0);
> > +	agent_side.set(3, 0);
> > +	agent_top.set(3, 0);
> > +
> > +	// rotation
> > +	Matrix4 rotationMatrix(agent_side, agent_top, agent_heading, Vector4(0, 0, 0, 1));
> > +	return rotationMatrix.multiply(vec);
> > +}
>
> It is doing just the math. Some searches can become really complex in
> world space.
>
> —
> Reply to this email directly or view it on GitHub<https://github.com/5-second-rule/common/pull/1/files#r12724850>
> .
>