MeshLib C++ Docs
Loading...
Searching...
No Matches
MRDivRound.h File Reference
#include "MRMeshFwd.h"

Go to the source code of this file.

Namespaces

namespace  MR
 

Functions

template<class T >
MR::divRound (T n, T d)
 
template<class T >
Vector2< T > MR::divRound (const Vector2< T > &n, T d)
 computes division n/d with rounding of each components to the nearest integer, all signs of n and d are supported
 
template<class T >
Vector3< T > MR::divRound (const Vector3< T > &n, T d)
 computes division n/d with rounding of each components to the nearest integer, all signs of n and d are supported
 
template<class T >
Vector4< T > MR::divRound (const Vector4< T > &n, T d)
 computes division n/d with rounding of each components to the nearest integer, all signs of n and d are supported