]> git.mxchange.org Git - simgear.git/blobdiff - simgear/math/sg_random.h
Ignore generated binaries.
[simgear.git] / simgear / math / sg_random.h
index 8b263b33a2f0f2b033ad23c1466dae1568bb18ca..6d993296106706da6653101aa1e7357c33ad732b 100644 (file)
@@ -5,7 +5,7 @@
 
 // Written by Curtis Olson, started July 1997.
 //
-// Copyright (C) 1997  Curtis L. Olson  - curt@infoplane.com
+// Copyright (C) 1997  Curtis L. Olson  - http://www.flightgear.org/~curt
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Library General Public
@@ -40,6 +40,13 @@ extern "C" {
  */
 void sg_srandom_time();
 
+/**
+ * Seed the random number generater with time() in 10 minute intervals
+ * so we get the same sequence within 10 minutes interval.
+ * This is useful for synchronizing two display systems.
+ */
+void sg_srandom_time_10();
+
 /**
  * Seed the random number generater with your own seed so can set up
  * repeatable randomization.