mirror of
https://github.com/love2d/love.git
synced 2026-08-16 00:02:12 +02:00
Renamed randnormal to randomnormal
--HG-- branch : math-randobject
This commit is contained in:
@@ -96,12 +96,12 @@ public:
|
||||
* @param stddev Standard deviation of the distribution.
|
||||
* @return Normally distributed random number with mean 0 and variance (stddev)².
|
||||
**/
|
||||
double randnormal(double stddev);
|
||||
double randomnormal(double stddev);
|
||||
|
||||
private:
|
||||
|
||||
uint64 rng_state;
|
||||
double last_randnormal;
|
||||
double last_randomnormal;
|
||||
|
||||
}; // RandomGenerator
|
||||
|
||||
|
||||
Reference in New Issue
Block a user