8#ifndef IGL_RANDOM_DIR_H
9#define IGL_RANDOM_DIR_H
27#ifndef IGL_STATIC_LIBRARY
28# include "random_dir.cpp"
#define IGL_INLINE
Definition igl_inline.h:15
Eigen::MatrixXd random_dir_stratified(const int n)
Generate n stratified uniformly random unit directions in 3d, return as rows of an n by 3 matrix.
Eigen::Vector3d random_dir()
Generate a uniformly random unit direction in 3D, return as vector.