chromium/third_party/angle/util/random_utils.h

//
// 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.
//

#ifndef UTIL_RANDOM_UTILS_H
#define UTIL_RANDOM_UTILS_H

#include <random>
#include <vector>

#include "common/vector_utils.h"
#include "util/util_export.h"

namespace angle
{

class ANGLE_UTIL_EXPORT RNG
{};

// Implemented inline to avoid cross-module allocation issues.
inline void FillVectorWithRandomUBytes(RNG *rng, std::vector<uint8_t> *data)
{}

inline void FillVectorWithRandomUBytes(std::vector<uint8_t> *data)
{}

inline Vector3 RandomVec3(int seed, float minValue, float maxValue)
{}

inline Vector4 RandomVec4(int seed, float minValue, float maxValue)
{}
}  // namespace angle

#endif  // UTIL_RANDOM_UTILS_H