From 0e0e6addda83fc0244ec7cedae02b5298d268cdb Mon Sep 17 00:00:00 2001 From: Martin Diehl Date: Sun, 2 Apr 2017 23:17:22 +0200 Subject: [PATCH] reference for qRand --- code/math.f90 | 3 +++ 1 file changed, 3 insertions(+) diff --git a/code/math.f90 b/code/math.f90 index 315da2642..e62fe60c3 100644 --- a/code/math.f90 +++ b/code/math.f90 @@ -1181,6 +1181,9 @@ end function math_Voigt66to3333 !-------------------------------------------------------------------------------------------------- !> @brief random quaternion +! http://math.stackexchange.com/questions/131336/uniform-random-quaternion-in-a-restricted-angle-range +! K. Shoemake. Uniform random rotations. In D. Kirk, editor, Graphics Gems III, pages 124-132. +! Academic, New York, 1992. !-------------------------------------------------------------------------------------------------- function math_qRand()