PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University. More...
#include "wander.h"
Go to the source code of this file.
Functions | |
double | rand_float () |
This function creates a random float point number. More... | |
double | random_clamped () |
This function returns a random floating point number in the range -1 to 1. More... | |
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
All rights reserved.
All use of this software is subject to the terms of the revised BSD license. You should have received a copy of this license along with this source code in a file named "LICENSE."
Definition in file wander.cxx.
double rand_float | ( | ) |
This function creates a random float point number.
Definition at line 19 of file wander.cxx.
Referenced by random_clamped().
double random_clamped | ( | ) |
This function returns a random floating point number in the range -1 to 1.
Definition at line 27 of file wander.cxx.
References rand_float().
Referenced by Wander::do_wander().