#define __DALI_RANDOM_H__
/*
- * Copyright (c) 2014 Samsung Electronics Co., Ltd.
+ * Copyright (c) 2015 Samsung Electronics Co., Ltd.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
return axis;
}
-/**
- * @brief Returns true if the value given is greater than a random value between 0 and 1.
- *
- * @param chance A value between 0 and 1. [Default: 0.5]
- * @return true if chance greater than the random value, otherwise false.
- */
-inline bool Chance(float chance = 0.5f)
-{
- return chance > Range(0.0f, 1.0f);
-}
-
} // namespace Random
} // namespace Dali