chromium/third_party/angle/util/random_utils.cpp

//
// Copyright 2014 The ANGLE Project Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
//
// random_utils:
//   Helper functions for random number generation.
//

#include "random_utils.h"

#include <chrono>

#include <cstdlib>

namespace angle
{

// Seed from clock
RNG::RNG()
{}

// Seed from fixed number.
RNG::RNG(unsigned int seed) :{}

RNG::~RNG() {}

void RNG::reseed(unsigned int newSeed)
{}

bool RNG::randomBool(float probTrue)
{}

int RNG::randomInt()
{}

int RNG::randomIntBetween(int min, int max)
{}

unsigned int RNG::randomUInt()
{}

float RNG::randomFloat()
{}

float RNG::randomFloatBetween(float min, float max)
{}

float RNG::randomFloatNonnegative()
{}

float RNG::randomNegativeOneToOne()
{}

}  // namespace angle