Closed roliveira closed 7 years ago
All the tools are there, just need to pretend it's a vector...
RPoint<T> dir(RPoint<T> p) return part->vdir = ( p / std::sqrt( rpoint::sum( rpoint::pow(p, 2) ) ) ).to<int>();
Added in #3.
All the tools are there, just need to pretend it's a vector...