raytracer
Parallel Ray Tracer written from scratch (no graphics API).
Loading...
Searching...
No Matches
random_utils.cpp File Reference
#include <random>
#include "common/util/random_utils.h"
Include dependency graph for random_utils.cpp:

Namespaces

namespace  raytracer
namespace  raytracer::common

Functions

bool raytracer::common::set_seed (unsigned new_seed)
bool raytracer::common::remove_seed ()
Vec3 raytracer::common::random_unit ()
std::mt19937 & raytracer::common::get_generator ()